-
Notifications
You must be signed in to change notification settings - Fork 48
chore: update dependencies to latest versions and bump MSRV to 1.63 #104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
| run: cargo build --no-default-features --features alloc --target thumbv7m-none-eabi | ||
| - name: Test wasm | ||
| run: wasm-pack test --headless --chrome | ||
| run: RUSTFLAGS='--cfg getrandom_backend="wasm_js"' wasm-pack test --headless --chrome |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, the fact that this flag is needed indicates that the getrandom upgrade needs to be considered a breaking change for our crate as well...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, true, I'm afraid there's no way around that.
|
@taiki-e would it be possible to merge this and release a new major version (3.0, since this is a breaking change) soon-ish? |
|
any updates on this? |
|
I think what we should do here is the same as what's proposed in ring. (i.e., vendoring the getrandom WASM code.) |
In particular, wyhash has been released which moves to rand 0.9, which brings quite a few of breaking changes. Luckily, we don't depend on it too much so the move is trivial.
67d5b96 to
b2da446
Compare
Why? I'm not sure what value that would bring, but I do see the downside of adding more complexity and maintenance burden to fastrand. The discussion in ring seems to have to do with specifics in ring so I'm not sure what the relation to this crate is. |
In particular, wyhash has been released which moves to rand 0.9, which brings quite a few of breaking changes. Luckily, we don't depend on it too much so the move is trivial. Also bump the MSRV to 1.63 to be in sync with getrandom and rand.