Skip to content

chore(deps): bump rand to 0.10 in /rust#73

Merged
debe merged 1 commit into
mainfrom
chore/bump-rand-0.10
Jul 8, 2026
Merged

chore(deps): bump rand to 0.10 in /rust#73
debe merged 1 commit into
mainfrom
chore/bump-rand-0.10

Conversation

@debe

@debe debe commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Addresses one of the two bumps deferred in #72 (the other, z3 0.20, follows in a separate PR).

Change

rand 0.9 → 0.10. The only breaking change touching this repo is the trait rename: the user-level convenience methods (random, random_range, random_bool, …) moved from Rng to a new RngExt trait. Switched the two import sites (findchars-bench/src/lib.rs, findchars/tests/fuzz_parity_test.rs) from Rng to RngExt; every call expression is unchanged.

StdRng is now backed by the chacha20 crate — seeded sequences may differ, which is harmless: fuzz_parity_test is a SIMD-vs-oracle parity property test, not a golden-value test.

Verification (local)

  • cargo build --workspace
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test -p findchars -p findchars-csv ✓ (compiles + runs the fuzz test via RngExt)

rand 0.10 renamed the user-level `Rng` trait to `RngExt` (the old `Rng`
name now refers to the low-level trait, formerly `RngCore`). Switch the two
import sites from `Rng` to `RngExt`; all call expressions (random, random_range,
random_bool, seed_from_u64, shuffle) are unchanged.

StdRng is now backed by the chacha20 crate; the seeded RNG sequences may differ,
which is harmless here since fuzz_parity_test is a SIMD-vs-oracle property test,
not a golden-value test.
@debe debe merged commit d00c2d9 into main Jul 8, 2026
3 checks passed
@debe debe deleted the chore/bump-rand-0.10 branch July 8, 2026 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant