Skip to content

Commit 0623f42

Browse files
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 nits
1 parent 9e7a1da commit 0623f42

File tree

15 files changed

+124
-97
lines changed

15 files changed

+124
-97
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,10 +454,9 @@ jobs:
454454
with:
455455
stable-toolchain: true
456456
cargo-cache-key: cargo-stable-wasm
457-
cargo-cache-fallback-key: cargo-stable
458457

459458
- name: Install wasm-pack
460-
uses: taiki-e/cache-cargo-install-action@v2
459+
uses: taiki-e/install-action@v2
461460
with:
462461
tool: wasm-pack
463462

Cargo.lock

Lines changed: 75 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)