Skip to content

build(deps): bump rand_chacha from 0.3.1 to 0.9.0#340

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/rand_chacha-0.9.0
Open

build(deps): bump rand_chacha from 0.3.1 to 0.9.0#340
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/rand_chacha-0.9.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 12, 2026

Bumps rand_chacha from 0.3.1 to 0.9.0.

Release notes

Sourced from rand_chacha's releases.

0.9.0

Upgrade guide

See https://rust-random.github.io/book/update-0.9.html

Changelog

Security and unsafe

  • Policy: "rand is not a crypto library" (#1514)
  • Remove fork-protection from ReseedingRng and ThreadRng. Instead, it is recommended to call ThreadRng::reseed on fork. (#1379)
  • Use zerocopy to replace some unsafe code (#1349, #1393, #1446, #1502)

Dependencies

  • Bump the MSRV to 1.63.0 (#1207, #1246, #1269, #1341, #1416, #1536); note that 1.60.0 may work for dependents when using --ignore-rust-version
  • Update to rand_core v0.9.0 (#1558)

Features

  • Support std feature without getrandom or rand_chacha (#1354)
  • Enable feature small_rng by default (#1455)
  • Remove implicit feature rand_chacha; use std_rng instead. (#1473)
  • Rename feature serde1 to serde (#1477)
  • Rename feature getrandom to os_rng (#1537)
  • Add feature thread_rng (#1547)

API changes: rand_core traits

  • Add fn RngCore::read_adapter implementing std::io::Read (#1267)
  • Add trait CryptoBlockRng: BlockRngCore; make trait CryptoRng: RngCore (#1273)
  • Add traits TryRngCore, TryCryptoRng (#1424, #1499)
  • Rename fn SeedableRng::from_rng -> try_from_rng and add infallible variant fn from_rng (#1424)
  • Rename fn SeedableRng::from_entropy -> from_os_rng and add fallible variant fn try_from_os_rng (#1424)
  • Add bounds Clone and AsRef to associated type SeedableRng::Seed (#1491)

API changes: Rng trait and top-level fns

  • Rename fn rand::thread_rng() to rand::rng() and remove from the prelude (#1506)
  • Remove fn rand::random() from the prelude (#1506)
  • Add top-level fns random_iter, random_range, random_bool, random_ratio, fill (#1488)
  • Re-introduce fn Rng::gen_iter as random_iter (#1305, #1500)
  • Rename fn Rng::gen to random to avoid conflict with the new gen keyword in Rust 2024 (#1438)
  • Rename fns Rng::gen_range to random_range, gen_bool to random_bool, gen_ratio to random_ratio (#1505)
  • Annotate panicking methods with #[track_caller] (#1442, #1447)

API changes: RNGs

  • Fix <SmallRng as SeedableRng>::Seed size to 256 bits (#1455)
  • Remove first parameter (rng) of ReseedingRng::new (#1533)

API changes: Sequences

  • Split trait SliceRandom into IndexedRandom, IndexedMutRandom, SliceRandom (#1382)
  • Add IndexedRandom::choose_multiple_array, index::sample_array (#1453, #1469)

API changes: Distributions: renames

  • Rename module rand::distributions to rand::distr (#1470)
  • Rename distribution Standard to StandardUniform (#1526)

... (truncated)

Changelog

Sourced from rand_chacha's changelog.

[0.9.0] - 2025-01-27

Security and unsafe

  • Policy: "rand is not a crypto library" (#1514)
  • Remove fork-protection from ReseedingRng and ThreadRng. Instead, it is recommended to call ThreadRng::reseed on fork. (#1379)
  • Use zerocopy to replace some unsafe code (#1349, #1393, #1446, #1502)

Dependencies

  • Bump the MSRV to 1.63.0 (#1207, #1246, #1269, #1341, #1416, #1536); note that 1.60.0 may work for dependents when using --ignore-rust-version
  • Update to rand_core v0.9.0 (#1558)

Features

  • Support std feature without getrandom or rand_chacha (#1354)
  • Enable feature small_rng by default (#1455)
  • Remove implicit feature rand_chacha; use std_rng instead. (#1473)
  • Rename feature serde1 to serde (#1477)
  • Rename feature getrandom to os_rng (#1537)
  • Add feature thread_rng (#1547)

API changes: rand_core traits

  • Add fn RngCore::read_adapter implementing std::io::Read (#1267)
  • Add trait CryptoBlockRng: BlockRngCore; make trait CryptoRng: RngCore (#1273)
  • Add traits TryRngCore, TryCryptoRng (#1424, #1499)
  • Rename fn SeedableRng::from_rng -> try_from_rng and add infallible variant fn from_rng (#1424)
  • Rename fn SeedableRng::from_entropy -> from_os_rng and add fallible variant fn try_from_os_rng (#1424)
  • Add bounds Clone and AsRef to associated type SeedableRng::Seed (#1491)

API changes: Rng trait and top-level fns

  • Rename fn rand::thread_rng() to rand::rng() and remove from the prelude (#1506)
  • Remove fn rand::random() from the prelude (#1506)
  • Add top-level fns random_iter, random_range, random_bool, random_ratio, fill (#1488)
  • Re-introduce fn Rng::gen_iter as random_iter (#1305, #1500)
  • Rename fn Rng::gen to random to avoid conflict with the new gen keyword in Rust 2024 (#1438)
  • Rename fns Rng::gen_range to random_range, gen_bool to random_bool, gen_ratio to random_ratio (#1505)
  • Annotate panicking methods with #[track_caller] (#1442, #1447)

API changes: RNGs

  • Fix <SmallRng as SeedableRng>::Seed size to 256 bits (#1455)
  • Remove first parameter (rng) of ReseedingRng::new (#1533)

API changes: Sequences

  • Split trait SliceRandom into IndexedRandom, IndexedMutRandom, SliceRandom (#1382)
  • Add IndexedRandom::choose_multiple_array, index::sample_array (#1453, #1469)

API changes: Distributions: renames

  • Rename module rand::distributions to rand::distr (#1470)
  • Rename distribution Standard to StandardUniform (#1526)
  • Move distr::Slice -> distr::slice::Choose, distr::EmptySlice -> distr::slice::Empty (#1548)
  • Rename trait distr::DistString -> distr::SampleString (#1548)
  • Rename distr::DistIter -> distr::Iter, distr::DistMap -> distr::Map (#1548)

... (truncated)

Commits

@dependabot dependabot Bot added the dependencies Dependency management label May 12, 2026
dsmfa10 added a commit to dsmfa10/dsm that referenced this pull request May 14, 2026
dsmfa10 added a commit to dsmfa10/dsm that referenced this pull request May 14, 2026
@dependabot dependabot Bot force-pushed the dependabot/cargo/rand_chacha-0.9.0 branch from 8764d28 to 8f80e84 Compare May 14, 2026 10:36
@cryptskii
Copy link
Copy Markdown
Collaborator

@copilot resolve the merge conflicts in this pull request

@dependabot dependabot Bot force-pushed the dependabot/cargo/rand_chacha-0.9.0 branch from 8f80e84 to 5209891 Compare May 14, 2026 10:44
Copy link
Copy Markdown
Contributor

Copilot AI commented May 14, 2026

@copilot resolve the merge conflicts in this pull request

Rebase conflicts are resolved and the branch is now cleanly rebased on origin/dependabot/cargo/rand_chacha-0.9.0 at 5209891.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • dl.google.com
    • Triggering command: /usr/lib/apt/methods/https /usr/lib/apt/methods/https /home/REDACTED/work/dsm/dsm/target/debug/build/dsm-541b588abc9a41f1/build_script_build-541b588abc9a41f1.15toml8pufubv1s6fbcafvn0h.0ikcogq.rcgu.o /home/REDACTED/work/dsm/dsm/target/debug/build/dsm-541b588abc9a41f1/build_script_build-541b588abc9a41f1.16v1zf2ohmz23bvkgumlm60f0.0ikcogq.rcgu.o /home/REDACTED/work/dsm/dsm/target/debug/build/dsm-541b588abc9a41f1/build_script_build-541b588abc9a41f1.1fq30nxzkv90tajdnu03b36wy.0ikcogq.rcgu.o /home/REDACTED/work/dsm/dsm/target/debug/build/dsm-541b588abc9a41f1/build_script_build-541b588abc9a41f1.1kvto7bmtcr8m216p2cf5z506.0ikcogq.rcgu.o /home/REDACTED/work/dsm/dsm/target/debug/build/dsm-541b588abc9a41f1/build_script_build-541b588abc9a41f1.1r6tj56hiqyn3ozi6eoyxwgi1.0ikcogq.rcgu.o /home/REDACTED/work/dsm/dsm/target/debug/build/dsm-541b588abc9a41f1/build_script_build-541b588abc9a41f1.1vwi3szf8495yumpcjhi18rc1.0ikcogq.rcgu.o /home/REDACTED/work/dsm/dsm/target/debug/build/dsm-541b588abc9a41f1/build_script_build-541b588abc9a41f1.1xv262x8yfhn4zbk7lv02368s.0ikcogq.rcgu.o /home/REDACTED/work/dsm/dsm/target/debug/build/dsm-541b588abc9a41f1/build_script_build-541b588abc9a41f1.20o42o8al4k1mv7c1eetd3y5w.0ikcogq.rcgu.o /home/REDACTED/work/dsm/dsm/target/debug/build/dsm-541b588abc9a41f1/build_script_build�� /home/REDACTED/work/dsm/dsm/target/debug/build/dsm-541b588abc9a41f1/build_script_build-541b588abc9a41f1.2b68jrymc6k7w0jzxtojv406e.0ikcogq.rcgu.o /home/REDACTED/work/dsm/dsm/target/debug/build/dsm-541b588abc9a41f1/build_script_build-541b588abc9a41f1.2bg0phq7np8rhd7cu3t3dcf6r.0ikcogq.rcgu.o d52e�� d52e9457b6221-v3_lib.o d52e9457b6221-v3_ncons.o f/aws-lc-sys-0.4/home/REDACTED/work/dsm/dsm/target/debug/build/aws-lc-sys-744d05453b921120/out/763--noprofile f/aws-lc-sys-0.4cc f/aws-lc-sys-0.4-m64 f/aws-lc-sys-0.4/home/REDACTED/work/dsm/dsm/target/debug/build/dsm-541b588abc9a41f1/rustc7b58Rd/symbols.o f/aws-lc-sys-0.4/home/REDACTED/work/dsm/dsm/target/debug/build/dsm-541b588abc9a41f1/build_script_build-541b588abc9a41f1.03rzc49mzbuxv7vurku9od21y.0ikcogq.rcgu.o (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI requested a review from cryptskii May 14, 2026 10:50
@dependabot dependabot Bot force-pushed the dependabot/cargo/rand_chacha-0.9.0 branch from 5209891 to 725fbe7 Compare May 14, 2026 17:21
Bumps [rand_chacha](https://github.com/rust-random/rand) from 0.3.1 to 0.9.0.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](rust-random/rand@rand_chacha-0.3.1...0.9.0)

---
updated-dependencies:
- dependency-name: rand_chacha
  dependency-version: 0.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/cargo/rand_chacha-0.9.0 branch from 725fbe7 to 9e70253 Compare May 15, 2026 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency management

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants