Bump rand core to 0.9.1 and rand to 0.9.0#3902
Bump rand core to 0.9.1 and rand to 0.9.0#3902aurelj wants to merge 1 commit intoembassy-rs:mainfrom
Conversation
|
Note that the failed test is due to |
|
lgtm, but then we need to wait for an alternatively we could impl both the 0.6 and 0.9 trait, similar to how we do with embedded-hal 0.2 and 1.0 |
b0d36ef to
489f1ee
Compare
|
The |
|
okay, sorry for taking so long to come back to this. I don't think we should bump 0.6->0.9 directly, since this is a pretty widely used trait and seems most users have'nt updated yet. For example many rust-crypto crates still use 0.6. If we do the update it'll be impossible to use embassy hals together with rust crypto crates to e.g. generate a private key. Instead, could you add 0.9 without removing 0.6? Add two deps Since the |
This is kind of a follow-up on #3360.
Note that rand_core now provides a default implementation for TryRngCore so try_fill_bytes() is automatically implemented.