Closed jbr closed 2 years ago
Thanks for this! Just two things:
getrandom
to the minor version 0.2
rather than the patch version 0.2.6
?.github/workflows/ci.yml
but I don't know how to do it myselfWith some further exploration, it likely does not make sense to directly consume this crate from wasm, but instead to wrap this crate with another that exposes a simplified (non-generic) interface. Thanks!
I do not yet have high confidence that this is the sufficient, but I do believe these changes are necessary. getrandom is currently a transitive dep, but we need to enable the js feature. I believe 1.60 has some special support for this, but in order to keep the msrv as is, I just added a direct dependency on getrandom when the
wasm
feature is enabled.closes #21 (?)
Thanks!