Commit 0623f42
authored
deps: Bump to rand v0.9 where possible (#480)
* deps: Bump to rand v0.9 where possible
#### Problem
The repo is still on rand v0.8 in a lot of places, but that version
isn't very compatible with rust 2024 due to its usage of `gen` as a
function name, which is becoming a keyword.
#### Summary of changes
Follow https://rust-random.github.io/book/update-0.9.html to perform the
upgrade to rand v0.9 where possible.
Most crypto libraries are still on rand v0.8 / rand_core v0.6, and the
blstrs and ecdsa implementations of `random` aren't as simple as just
taking 32 or 64 random bytes, so I left those back.
* Also update getrandom for wasm builds
* wasm: Don't use cache fallback for CI
* Bump getrandom to next patch version
* Address nits1 parent 9e7a1da commit 0623f42
File tree
15 files changed
+124
-97
lines changed- .github/workflows
- address/src
- bls-signatures
- frozen-abi
- src
- keypair/src
- sdk-wasm-js
- secp256k1-program
- secp256k1-recover
- serde-varint/src
- serialize-utils/src
- signer-store/benches
- vote-interface/src/state
15 files changed
+124
-97
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
457 | | - | |
458 | 457 | | |
459 | 458 | | |
460 | | - | |
| 459 | + | |
461 | 460 | | |
462 | 461 | | |
463 | 462 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments