Skip to content

Bump the cargo group across 8 directories with 13 updates - #7

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/cargo-562c7fcc39
Closed

Bump the cargo group across 8 directories with 13 updates#7
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/cargo-562c7fcc39

Conversation

@dependabot

@dependabotdependabotBot commented on behalf of githubApr 15, 2026

Copy link
Copy Markdown

Bumps the cargo group with 10 updates in the / directory:

PackageFromTo
rand0.8.50.9.3
tokio1.38.01.38.2
tar0.4.410.4.45
ammonia4.0.04.0.1
bytes1.6.01.11.1
crossbeam-channel0.5.130.5.15
thin-vec0.2.130.2.16
time0.3.360.3.47
zerovec0.10.20.10.4
zerovec-derive0.10.20.10.3

Bumps the cargo group with 1 update in the /compiler/rustc_codegen_gcc directory: rustix.
Bumps the cargo group with 1 update in the /src/bootstrap directory: tar.
Bumps the cargo group with 1 update in the /src/etc/test-float-parse directory: rand.
Bumps the cargo group with 3 updates in the /src/tools/miri directory: rand, tracing-subscriber and crossbeam-channel.
Bumps the cargo group with 5 updates in the /src/tools/rust-analyzer directory:

PackageFromTo
rand0.8.50.9.3
tracing-subscriber0.3.180.3.20
crossbeam-channel0.5.130.5.15
time0.3.360.3.47
lz4_flex0.11.30.11.6

Bumps the cargo group with 2 updates in the /src/tools/rustbook directory: ammonia and time.
Bumps the cargo group with 1 update in the /src/tools/rustfmt directory: tracing-subscriber.

Updates rand from 0.8.5 to 0.9.3

Changelog

Sourced from rand's changelog.

[0.9.3] — 2026-02-11

This release back-ports a fix from v0.10. See also #1763.

Changes

  • Deprecate feature log (#1764)
  • Replace usages of doc_auto_cfg (#1764)

#1763: rust-random/rand#1763

[0.9.2] — 2025-07-20

Deprecated

  • Deprecate rand::rngs::mock module and StepRng generator (#1634)

Additions

  • Enable WeightedIndex<usize> (de)serialization (#1646)

[0.9.1] - 2025-04-17

Security and unsafe

  • Revise "not a crypto library" policy again (#1565)
  • Remove zerocopy dependency from rand (#1579)

Fixes

  • Fix feature simd_support for recent nightly rust (#1586)

Changes

  • Allow fn rand::seq::index::sample_weighted and fn IndexedRandom::choose_multiple_weighted to return fewer than amount results (#1623), reverting an undocumented change (#1382) to the previous release.

Additions

  • Add rand::distr::Alphabetic distribution. (#1587)
  • Re-export rand_core (#1604)

[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

... (truncated)

Commits

Updates tokio from 1.38.0 to 1.38.2

Release notes

Sourced from tokio's releases.

Tokio v1.38.2

This release fixes a soundness issue in the broadcast channel. The channel accepts values that are Send but !Sync. Previously, the channel called clone() on these values without synchronizing. This release fixes the channel by synchronizing calls to .clone() (Thanks Austin Bonander for finding and reporting the issue).

Fixed

  • sync: synchronize clone() call in broadcast channel (#7232)

#7232: tokio-rs/tokio#7232

Tokio v1.38.1

1.38.1 (July 16th, 2024)

This release fixes the bug identified as (#6682), which caused timers not to fire when they should.

Fixed

  • time: update wake_up while holding all the locks of sharded time wheels (#6683)

#6682: tokio-rs/tokio#6682#6683: tokio-rs/tokio#6683

Commits

Updates tar from 0.4.41 to 0.4.45

Commits
  • 096e3d1 Bump to 0.4.45 (#443)
  • 17b1fd8 archive: Prevent symlink-directory collision chmod attack (#442)
  • de1a587 archive: Unconditionally honor PAX size (#441)
  • 6071cbe ci: Consolidate workflows (#439)
  • ad1fde9 build-sys: Promote unused_code to an error
  • c8cb250 tests: Squash a warning
  • 638c495 ci: Add xtask infra + reverse dependency testing (#435)
  • 32a9bbb tests: Add RandomReader to exercise partial-read resilience (#436)
  • 9c5df0b Fix GNU long-name extension stream corruption on validation error (#434)
  • 88b1e3b Fix docs typo in header.rs (#431)
  • Additional commits viewable in compare view

Updates ammonia from 4.0.0 to 4.0.1

Release notes

Sourced from ammonia's releases.

4.0.1

  • fix: unexpected namespace switches after cleanup can cause mXSS (reported by zzm0902@shu.edu.cn, backport 4.1.2)
Changelog

Sourced from ammonia's changelog.

4.0.1

  • fix: unexpected namespace switches after cleanup can cause mXSS (backport 4.1.2)
Commits

Updates bytes from 1.6.0 to 1.11.1

Release notes

Sourced from bytes's releases.

Bytes v1.11.1

1.11.1 (February 3rd, 2026)

  • Fix integer overflow in BytesMut::reserve

Bytes v1.11.0

1.11.0 (November 14th, 2025)

  • Bump MSRV to 1.57 (#788)

Fixed

  • fix: BytesMut only reuse if src has remaining (#803)
  • Specialize BytesMut::put::<Bytes> (#793)
  • Reserve capacity in BytesMut::put (#794)
  • Change BytesMut::remaining_mut to use isize::MAX instead of usize::MAX (#795)

Internal changes

  • Guarantee address in slice() for empty slices. (#780)
  • Rename Vtable::to_* -> Vtable::into_* (#776)
  • Fix latest clippy warnings (#787)
  • Ignore BytesMut::freeze doctest on wasm (#790)
  • Move drop_fn of from_owner into vtable (#801)

Bytes v1.10.1

1.10.1 (March 5th, 2025)

Fixed

  • Fix memory leak when using to_vec with Bytes::from_owner (#773)

#773: tokio-rs/bytes#773

Bytes v1.10.0

1.10.0 (February 3rd, 2025)

Added

  • Add feature to support platforms without atomic CAS (#467)
  • try_get_* methods for Buf trait (#753)
  • Implement Buf::chunks_vectored for Take (#617)
  • Implement Buf::chunks_vectored for VecDeque<u8> (#708)

Fixed

  • Remove incorrect guarantee for chunks_vectored (#754)
  • Ensure that tests pass under panic=abort (#749)

... (truncated)

Changelog

Sourced from bytes's changelog.

1.11.1 (February 3rd, 2026)

  • Fix integer overflow in BytesMut::reserve

1.11.0 (November 14th, 2025)

  • Bump MSRV to 1.57 (#788)

Fixed

  • fix: BytesMut only reuse if src has remaining (#803)
  • Specialize BytesMut::put::<Bytes> (#793)
  • Reserve capacity in BytesMut::put (#794)
  • Change BytesMut::remaining_mut to use isize::MAX instead of usize::MAX (#795)

Internal changes

  • Guarantee address in slice() for empty slices. (#780)
  • Rename Vtable::to_* -> Vtable::into_* (#776)
  • Fix latest clippy warnings (#787)
  • Ignore BytesMut::freeze doctest on wasm (#790)
  • Move drop_fn of from_owner into vtable (#801)

1.10.1 (March 5th, 2025)

Fixed

  • Fix memory leak when using to_vec with Bytes::from_owner (#773)

1.10.0 (February 3rd, 2025)

Added

  • Add feature to support platforms without atomic CAS (#467)
  • try_get_* methods for Buf trait (#753)
  • Implement Buf::chunks_vectored for Take (#617)
  • Implement Buf::chunks_vectored for VecDeque<u8> (#708)

Fixed

  • Remove incorrect guarantee for chunks_vectored (#754)
  • Ensure that tests pass under panic=abort (#749)

1.9.0 (November 27, 2024)

Added

  • Add Bytes::from_owner to enable externally-allocated memory (#742)

Documented

... (truncated)

Commits

Updates crossbeam-channel from 0.5.13 to 0.5.15

Release notes

Sourced from crossbeam-channel's releases.

crossbeam-channel 0.5.15

  • Fix regression introduced in 0.5.12 that can lead to a double free when dropping unbounded channel. (#1187)

crossbeam-channel 0.5.14

  • Fix stack overflow when sending large value to unbounded channel. (#1146, #1147)
  • Add Select::new_biased function. (#1150)
  • Remove inefficient spinning. (#1154)
  • Suppress buggy clippy::zero_repeat_side_effects lint in macro generated code. (#1123)
Commits
  • d35ffde Prepare for the next release
  • 6ec74ec crossbeam-channel: prevent double free on Drop (#1187)
  • ccd83ac Prepare for the next release
  • 54988eb Calculate layout in const context
  • 761d0b6 Port #1146 & #1147 to deque::Injector and queue::SegQueue
  • 8144fbb Remove optimistic spinning from Context::wait_until
  • a92f6c4 Bump peter-evans/create-pull-request from 5 to 7 (#1153)
  • 66d41a9 channel: Add new_biased constructor for biased channel selection (#1150)
  • d0d0a80 CachePadded: Use 128-byte alignment on arm64ec
  • f757eef Add comment about fixed rustc bug
  • Additional commits viewable in compare view

Updates thin-vec from 0.2.13 to 0.2.16

Changelog

Sourced from thin-vec's changelog.

Version 0.2.16 (2026-04-14)

  • Fix reserve() on auto arrays in gecko-ffi mode.
  • Fix two double-drop issues with ThinVec::clear() and ThinVec::into_iter() when the Drop implementation of the item panics.

Version 0.2.15 (2026-04-08)

  • Support AutoTArrays created from Rust in Gecko FFI mode.
  • Add extract_if.
  • Add const new() support behind feature flag.
  • Fix thin_vec macro not being hygienic when recursing
  • Improve extend() performance.

Version 0.2.14 (2025-03-23)

  • Add "malloc_size_of" feature for heap size measurement support
Commits
  • 3c96f1e chore: Bump version to v0.2.16
  • df64748 Fix two panic=unwind issues.
  • 4e3a217 ci: Ignore msrv job for now since it just hangs trying to pull deps.
  • 63c2f5f gecko-ffi: Fix auto-t-array push.
  • 6797813 tests: Appease clippy.
  • af81b17 ci: Don't use actions-rs/{cargo,clippy-check} as it's not allowed in mozilla/...
  • 360f9ef Update repository URL and various cleanups
  • 70bcca0 chore: Bump version to v0.2.15
  • 322423b Fix miri error on extract_if().
  • eca5334 Don't make push_unchecked public.
  • Additional commits viewable in compare view

Updates time from 0.3.36 to 0.3.47

Release notes

Sourced from time's releases.

v0.3.47

See the changelog for details.

v0.3.46

See the changelog for details.

v0.3.45

See the changelog for details.

v0.3.44

See the changelog for details.

v0.3.43

See the changelog for details.

v0.3.42

See the changelog for details.

v0.3.41

See the changelog for details.

v0.3.40

See the changelog for details.

v0.3.39

See the changelog for details.

v0.3.38

See the changelog for details.

v0.3.37

See the changelog for details.

Changelog

Sourced from time's changelog.

0.3.47 [2026-02-05]

Security

  • The possibility of a stack exhaustion denial of service attack when parsing RFC 2822 has been eliminated. Previously, it was possible to craft input that would cause unbounded recursion. Now, the depth of the recursion is tracked, causing an error to be returned if it exceeds a reasonable limit.

    This attack vector requires parsing user-provided input, with any type, using the RFC 2822 format.

Compatibility

  • Attempting to format a value with a well-known format (i.e. RFC 3339, RFC 2822, or ISO 8601) will error at compile time if the type being formatted does not provide sufficient information. This would previously fail at runtime. Similarly, attempting to format a value with ISO 8601 that is only configured for parsing (i.e. Iso8601::PARSING) will error at compile time.

Added

  • Builder methods for format description modifiers, eliminating the need for verbose initialization when done manually.
  • date!(2026-W01-2) is now supported. Previously, a space was required between W and 01.
  • [end] now has a trailing_input modifier which can either be prohibit (the default) or discard. When it is discard, all remaining input is ignored. Note that if there are components after [end], they will still attempt to be parsed, likely resulting in an error.

Changed

  • More performance gains when parsing.

Fixed

  • If manually formatting a value, the number of bytes written was one short for some components. This has been fixed such that the number of bytes written is always correct.
  • The possibility of integer overflow when parsing an owned format description has been effectively eliminated. This would previously wrap when overflow checks were disabled. Instead of storing the depth as u8, it is stored as u32. This would require multiple gigabytes of nested input to overflow, at which point we've got other problems and trivial mitigations are available by downstream users.

0.3.46 [2026-01-23]

Added

  • All possible panics are now documented for the relevant methods.
  • The need to use #[serde(default)] when using custom serde formats is documented. This applies only when deserializing an Option<T>.
  • Duration::nanoseconds_i128 has been made public, mirroring std::time::Duration::from_nanos_u128.

... (truncated)

Commits
  • d5144cd v0.3.47 release
  • f6206b0 Guard against integer overflow in release mode
  • 1c63dc7 Avoid denial of service when parsing Rfc2822
  • 5940df6 Add builder methods to avoid verbose construction
  • 00881a4 Manually format macros everywhere
  • bb723b6 Add trailing_input modifier to end
  • 31c4f8e Permit W12 in date! macro
  • 490a17b Mark error paths in well-known formats as cold
  • 6cb1896 Optimize Rfc2822 parsing
  • 6d264d5 Remove erroneous #[inline(never)] attributes
  • Additional commits viewable in compare view

Updates zerovec from 0.10.2 to 0.10.4

Changelog

Sourced from zerovec's changelog.

Changelog

icu 2.2.x

Several crates have had patch releases in the 2.2 stream:

  • Components
    • (2.2.1) icu_calendar
      • Fix extended year calculations in Gregorian-like and Coptic-like calendars (unicode-org#7849)

icu4x 2.2

  • Components
    • General
      • Use HTTPS links in docs (unicode-org#7212)
      • Update MSRV to 1.86 (unicode-org#7576)
      • Updated to CLDR 48.2 (unicode-org#7792)
      • Replace experimental features with unstable features (unicode-org#7566)
      • Add categories and keywords to Cargo.toml for all components (unicode-org#7737)
    • icu_calendar
      • Add Date::try_new, which replaces Date::try_new_from_codes, and takes typed year/month values. (unicode-org#7773, unicode-org#7764)
      • New methods: Date::try_new (and primarily-internal Calendar::new_date)
      • New types: InputYear, DateNewError
      • Handle possible Overflow values on individual calendars (unicode-org#7795)
      • New Date::try_from_fields API for fully general date construction from various choices of year and month values (unicode-org#7798)
      • New methods: Date::try_from_fields()
      • New types: DateFields, DateFromFieldsOptions, Overflow, MissingFieldsStrategy, DateFromFieldsError
      • New associated method: Calendar::from_fields()
      • New Date arithmetic APIs for adding and subtracting dates (unicode-org#7798, unicode-org#7355, unicode-org#7257)
      • New methods: Date::try_add_with_options, Date::try_added_with_options, Date::try_until_with_options
      • New types: DateDuration, DateAddOptions, DateDifferenceOptions, DateDurationUnit, DateDurationParseError, DateAddError, MismatchedCalendarError
      • New associated items: Calendar::add, Calendar::until, Calendar::DateCompatibilityError
      • Introduce a new Month type, preferred over using month codes (unicode-org#7147, unicode-org#7756)
        • New type: Month
        • New method: MonthInfo::to_input()
      • Introduce year/date ranges to all APIs, documented on the APIs themselves. Date now has a fundamental range (ISO years between ±999,999), and most constructors enforce a stricter range of ±9999 years for input years. (unicode-org#7676, unicode-org#7062, unicode-org#7629, unicode-org#7753, unicode-org#7219, unicode-org#7227)
      • Add constructors with Month for lunisolar calendars (unicode-org#7485)
      • New methods: Date::try_new_korean_traditional(), Date::try_new_chinese_traditional(), Date::try_new_hebrew_v2()
      • Expose LeapStatus on MonthInfo (unicode-org#7667)
      • New method: MonthInfo::leap_status()
      • New enum: LeapStatus
      • (Unstable) Integrate with chrono, jiff, and time (unicode-org#7617, unicode-org#7711)
      • New impls: From<chrono::NaiveDate>, From<jiff::civil::Date>, From<time::Date> for Date<Gregorian>
      • Replace Date::day_of_week by Date::weekday (unicode-org#7288)
        • New method: Date::weekday()
      • Deprecate Date::new_from_iso/Date::to_iso (unicode-org#7287)
      • Deprecate Date::extended_year() (use Date::year().extended_year()) (unicode-org#7289)
      • Remove YearInfo: PartialEq bound (unicode-org#7743)
      • Start producing Meiji era only after Meiji 6 (unicode-org#7503)

... (truncated)

Commits

Updates zerovec-derive from 0.10.2 to 0.10.3

Changelog

Sourced from zerovec-derive's changelog.

Changelog

icu 2.2.x

Several crates have had patch releases in the 2.2 stream:

  • Components
    • (2.2.1) icu_calendar
      • Fix extended year calculations in Gregorian-like and Coptic-like calendars (unicode-org#7849)

icu4x 2.2

  • Components
    • General
      • Use HTTPS links in docs (unicode-org#7212)
      • Update MSRV to 1.86 (unicode-org#7576)
      • Updated to CLDR 48.2 (unicode-org#7792)
      • Replace experimental features with unstable features (unicode-org#7566)
      • Add categories and keywords to Cargo.toml for all components (unicode-org#7737)
    • icu_calendar
      • Add Date::try_new, which replaces Date::try_new_from_codes, and takes typed year/month values. (unicode-org#7773, unicode-org#7764)
      • New methods: Date::try_new (and primarily-internal Calendar::new_date)
      • New types: InputYear, DateNewError
      • Handle possible Overflow values on individual calendars (unicode-org#7795)
      • New Date::try_from_fields API for fully general date construction from various choices of year and month values (unicode-org#7798)
      • New methods: Date::try_from_fields()
      • New types: DateFields, DateFromFieldsOptions, Overflow, MissingFieldsStrategy, DateFromFieldsError
      • New associated method: Calendar::from_fields()
      • New Date arithmetic APIs for adding and subtracting dates (unicode-org#7798, unicode-org#7355, unicode-org#7257)
      • New methods: Date::try_add_with_options, Date::try_added_with_options, Date::try_until_with_options
      • New types: DateDuration, DateAddOptions, DateDifferenceOptions, DateDurationUnit, DateDurationParseError, DateAddError, MismatchedCalendarError
      • New associated items: Calendar::add, Calendar::until, Calendar::DateCompatibilityError
      • Introduce a new Month type, preferred over using month codes (unicode-org#7147, unicode-org#7756)
        • New type: Month
        • New method: MonthInfo::to_input()
      • Introduce year/date ranges to all APIs, documented on the APIs themselves. Date now has a fundamental range (ISO years between ±999,999), and most constructors enforce a stricter range of ±9999 years for input years. (unicode-org#7676, unicode-org#7062, unicode-org#7629, unicode-org#7753, unicode-org#7219, unicode-org#7227)
      • Add constructors with Month for lunisolar calendars (unicode-org#7485)
      • New methods: Date::try_new_korean_traditional(), Date::try_new_chinese_traditional(), Date::try_new_hebrew_v2()
      • Expose LeapStatus on MonthInfo (unicode-org#7667)
      • New method: MonthInfo::leap_status()
      • New enum: LeapStatus
      • (Unstable) Integrate with chrono, jiff, and time (unicode-org#7617, unicode-org#7711)
      • New impls: From<chrono::NaiveDate>, From<jiff::civil::Date>, From<time::Date> for Date<Gregorian>
      • Replace Date::day_of_week by Date::weekday (unicode-org#7288)
        • New method: Date::weekday()
      • Deprecate Date::new_from_iso/Date::to_iso (unicode-org#7287)
      • Deprecate Date::extended_year() (use Date::year().extended_year()) (unicode-org#7289)
      • Remove YearInfo: PartialEq bound (unicode-org#7743)
      • Start producing Meiji era only after Meiji 6 (unicode-org#7503)

... (truncated)

Commits

Updates rustix from 0.38.8 to 0.38.44

Commits

Updates tar from 0.4.40 to 0.4.45

Commits
  • 096e3d1 Bump to 0.4.45 (#443)
  • 17b1fd8 archive: Prevent symlink-directory collision chmod attack (#442)
  • de1a587 archive: Unconditionally honor PAX size (#441)
  • 6071cbe ci: Consolidate workflows (#439)
  • ad1fde9 build-sys: Promote unused_code to an error
  • c8cb250 tests: Squash a warning
  • 638c495 ci: Add xtask infra + reverse dependency testing (#435)
  • 32a9bbb tests: Add RandomReader to exercise partial-read resilience (#436)
  • 9c5df0b Fix GNU long-name extension stream corruption on validation error (#434)
  • 88b1e3b Fix docs typo in header.rs (#431)
  • Additional commits viewable in compare view

Updates rand from 0.8.5 to 0.9.3

Changelog

Sourced from rand's changelog.

[0.9.3] — 2026-02-11

This release back-ports a fix from v0.10. See also #1763.

Changes

  • Deprecate feature log (#1764)
  • Replace usages of doc_auto_cfg (#1764)

#1763: rust-random/rand#1763

[0.9.2] — 2025-07-20

Deprecated

  • Deprecate rand::rngs::mock module and StepRng generator (#1634)

Additions

  • Enable WeightedIndex<usize> (de)serialization (#1646)

[0.9.1] - 2025-04-17

Security and unsafe

  • Revise "not a crypto library" policy again (#1565)
  • Remove zerocopy dependency from rand (#1579)

Fixes

  • Fix feature simd_support for recent nightly rust (#1586)

Changes

  • Allow fn rand::seq::index::sample_weighted and fn IndexedRandom::choose_multiple_weighted to return fewer than amount results (#1623), reverting an undocumented change (#1382) to the previous release.

Additions

  • Add rand::distr::Alphabetic distribution. (#1587)
  • Re-export rand_core (#1604)

[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

... (truncated)

Commits

Updates rand from 0.8.5 to 0.9.3

Changelog

Sourced from rand's changelog.

[0.9.3] — 2026-02-11

This release back-ports a fix from v0.10. See also #1763.

Changes

  • Deprecate feature log (#1764)
  • Replace usages of doc_auto_cfg (#1764)

#1763: rust-random/rand#1763

[0.9.2] — 2025-07-20

Deprecated

  • Deprecate rand::rngs::mock module and StepRng generator (#1634)

Additions

  • Enable WeightedIndex<usize> (de)serialization (#1646)

[0.9.1] - 2025-04-17

Security and unsafe

  • Revise "not a crypto library" policy again (#1565)
  • Remove zerocopy dependency from rand (#1579)

Fixes

  • Fix feature simd_support for recent nightly rust (#1586)

Changes

  • Allow fn rand::seq::index::sample_weighted and fn IndexedRandom::choose_multiple_weighted to return fewer than amount results (#1623), reverting an undocumented change (#1382) to the previous release.

Additions

  • Add rand::distr::Alphabetic distribution. (#1587)
  • Re-export rand_core (#1604)

[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 (

Bumps the cargo group with 10 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [rand](https://github.com/rust-random/rand) | `0.8.5` | `0.9.3` |
| [tokio](https://github.com/tokio-rs/tokio) | `1.38.0` | `1.38.2` |
| [tar](https://github.com/alexcrichton/tar-rs) | `0.4.41` | `0.4.45` |
| [ammonia](https://github.com/rust-ammonia/ammonia) | `4.0.0` | `4.0.1` |
| [bytes](https://github.com/tokio-rs/bytes) | `1.6.0` | `1.11.1` |
| [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) | `0.5.13` | `0.5.15` |
| [thin-vec](https://github.com/mozilla/thin-vec) | `0.2.13` | `0.2.16` |
| [time](https://github.com/time-rs/time) | `0.3.36` | `0.3.47` |
| [zerovec](https://github.com/unicode-org/icu4x) | `0.10.2` | `0.10.4` |
| [zerovec-derive](https://github.com/unicode-org/icu4x) | `0.10.2` | `0.10.3` |
Bumps the cargo group with 1 update in the /compiler/rustc_codegen_gcc directory: [rustix](https://github.com/bytecodealliance/rustix).
Bumps the cargo group with 1 update in the /src/bootstrap directory: [tar](https://github.com/alexcrichton/tar-rs).
Bumps the cargo group with 1 update in the /src/etc/test-float-parse directory: [rand](https://github.com/rust-random/rand).
Bumps the cargo group with 3 updates in the /src/tools/miri directory: [rand](https://github.com/rust-random/rand), [tracing-subscriber](https://github.com/tokio-rs/tracing) and [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam).
Bumps the cargo group with 5 updates in the /src/tools/rust-analyzer directory:
| Package | From | To |
| --- | --- | --- |
| [rand](https://github.com/rust-random/rand) | `0.8.5` | `0.9.3` |
| [tracing-subscriber](https://github.com/tokio-rs/tracing) | `0.3.18` | `0.3.20` |
| [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) | `0.5.13` | `0.5.15` |
| [time](https://github.com/time-rs/time) | `0.3.36` | `0.3.47` |
| [lz4_flex](https://github.com/pseitz/lz4_flex) | `0.11.3` | `0.11.6` |
Bumps the cargo group with 2 updates in the /src/tools/rustbook directory: [ammonia](https://github.com/rust-ammonia/ammonia) and [time](https://github.com/time-rs/time).
Bumps the cargo group with 1 update in the /src/tools/rustfmt directory: [tracing-subscriber](https://github.com/tokio-rs/tracing).
Updates `rand` from 0.8.5 to 0.9.3
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/0.9.3/CHANGELOG.md)
- [Commits](rust-random/rand@0.8.5...0.9.3)
Updates `tokio` from 1.38.0 to 1.38.2
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](tokio-rs/tokio@tokio-1.38.0...tokio-1.38.2)
Updates `tar` from 0.4.41 to 0.4.45
- [Commits](composefs/tar-rs@0.4.41...0.4.45)
Updates `ammonia` from 4.0.0 to 4.0.1
- [Release notes](https://github.com/rust-ammonia/ammonia/releases)
- [Changelog](https://github.com/rust-ammonia/ammonia/blob/master/CHANGELOG.md)
- [Commits](rust-ammonia/ammonia@v4.0.0...v4.0.1)
Updates `bytes` from 1.6.0 to 1.11.1
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](tokio-rs/bytes@v1.6.0...v1.11.1)
Updates `crossbeam-channel` from 0.5.13 to 0.5.15
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](crossbeam-rs/crossbeam@crossbeam-channel-0.5.13...crossbeam-channel-0.5.15)
Updates `thin-vec` from 0.2.13 to 0.2.16
- [Changelog](https://github.com/mozilla/thin-vec/blob/main/RELEASES.md)
- [Commits](mozilla/thin-vec@v0.2.13...v0.2.16)
Updates `time` from 0.3.36 to 0.3.47
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](time-rs/time@v0.3.36...v0.3.47)
Updates `zerovec` from 0.10.2 to 0.10.4
- [Release notes](https://github.com/unicode-org/icu4x/releases)
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md)
- [Commits](https://github.com/unicode-org/icu4x/commits/ind/zerovec@0.10.4)
Updates `zerovec-derive` from 0.10.2 to 0.10.3
- [Release notes](https://github.com/unicode-org/icu4x/releases)
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md)
- [Commits](https://github.com/unicode-org/icu4x/commits/ind/zerovec-derive@0.10.3)
Updates `rustix` from 0.38.8 to 0.38.44
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Changelog](https://github.com/bytecodealliance/rustix/blob/main/CHANGES.md)
- [Commits](bytecodealliance/rustix@v0.38.8...v0.38.44)
Updates `tar` from 0.4.40 to 0.4.45
- [Commits](composefs/tar-rs@0.4.41...0.4.45)
Updates `rand` from 0.8.5 to 0.9.3
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/0.9.3/CHANGELOG.md)
- [Commits](rust-random/rand@0.8.5...0.9.3)
Updates `rand` from 0.8.5 to 0.9.3
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/0.9.3/CHANGELOG.md)
- [Commits](rust-random/rand@0.8.5...0.9.3)
Updates `tracing-subscriber` from 0.3.18 to 0.3.19
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](tokio-rs/tracing@tracing-subscriber-0.3.18...tracing-subscriber-0.3.19)
Updates `crossbeam-channel` from 0.5.13 to 0.5.15
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](crossbeam-rs/crossbeam@crossbeam-channel-0.5.13...crossbeam-channel-0.5.15)
Updates `rand` from 0.8.5 to 0.9.3
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/0.9.3/CHANGELOG.md)
- [Commits](rust-random/rand@0.8.5...0.9.3)
Updates `tracing-subscriber` from 0.3.18 to 0.3.20
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](tokio-rs/tracing@tracing-subscriber-0.3.18...tracing-subscriber-0.3.19)
Updates `crossbeam-channel` from 0.5.13 to 0.5.15
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](crossbeam-rs/crossbeam@crossbeam-channel-0.5.13...crossbeam-channel-0.5.15)
Updates `time` from 0.3.36 to 0.3.47
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](time-rs/time@v0.3.36...v0.3.47)
Updates `lz4_flex` from 0.11.3 to 0.11.6
- [Release notes](https://github.com/pseitz/lz4_flex/releases)
- [Changelog](https://github.com/PSeitz/lz4_flex/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pseitz/lz4_flex/commits/0.11.6)
Updates `ammonia` from 4.0.0 to 4.1.2
- [Release notes](https://github.com/rust-ammonia/ammonia/releases)
- [Changelog](https://github.com/rust-ammonia/ammonia/blob/master/CHANGELOG.md)
- [Commits](rust-ammonia/ammonia@v4.0.0...v4.0.1)
Updates `time` from 0.3.36 to 0.3.47
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](time-rs/time@v0.3.36...v0.3.47)
Updates `tracing-subscriber` from 0.3.17 to 0.3.20
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](tokio-rs/tracing@tracing-subscriber-0.3.18...tracing-subscriber-0.3.19)
---
updated-dependencies:
- dependency-name: rand
dependency-version: 0.9.3
dependency-type: direct:production
dependency-group: cargo
- dependency-name: tokio
dependency-version: 1.38.2
dependency-type: direct:production
dependency-group: cargo
- dependency-name: tar
dependency-version: 0.4.45
dependency-type: direct:production
dependency-group: cargo
- dependency-name: ammonia
dependency-version: 4.0.1
dependency-type: indirect
dependency-group: cargo
- dependency-name: bytes
dependency-version: 1.11.1
dependency-type: indirect
dependency-group: cargo
- dependency-name: crossbeam-channel
dependency-version: 0.5.15
dependency-type: indirect
dependency-group: cargo
- dependency-name: thin-vec
dependency-version: 0.2.16
dependency-type: indirect
dependency-group: cargo
- dependency-name: time
dependency-version: 0.3.47
dependency-type: indirect
dependency-group: cargo
- dependency-name: zerovec
dependency-version: 0.10.4
dependency-type: indirect
dependency-group: cargo
- dependency-name: zerovec-derive
dependency-version: 0.10.3
dependency-type: indirect
dependency-group: cargo
- dependency-name: rustix
dependency-version: 0.38.44
dependency-type: indirect
dependency-group: cargo
- dependency-name: tar
dependency-version: 0.4.45
dependency-type: direct:production
dependency-group: cargo
- dependency-name: rand
dependency-version: 0.9.3
dependency-type: direct:production
dependency-group: cargo
- dependency-name: rand
dependency-version: 0.9.3
dependency-type: direct:production
dependency-group: cargo
- dependency-name: tracing-subscriber
dependency-version: 0.3.19
dependency-type: indirect
dependency-group: cargo
- dependency-name: crossbeam-channel
dependency-version: 0.5.15
dependency-type: indirect
dependency-group: cargo
- dependency-name: rand
dependency-version: 0.9.3
dependency-type: direct:production
dependency-group: cargo
- dependency-name: tracing-subscriber
dependency-version: 0.3.20
dependency-type: direct:production
dependency-group: cargo
- dependency-name: crossbeam-channel
dependency-version: 0.5.15
dependency-type: direct:production
dependency-group: cargo
- dependency-name: time
dependency-version: 0.3.47
dependency-type: direct:production
dependency-group: cargo
- dependency-name: lz4_flex
dependency-version: 0.11.6
dependency-type: direct:production
dependency-group: cargo
- dependency-name: ammonia
dependency-version: 4.1.2
dependency-type: indirect
dependency-group: cargo
- dependency-name: time
dependency-version: 0.3.47
dependency-type: indirect
dependency-group: cargo
- dependency-name: tracing-subscriber
dependency-version: 0.3.20
dependency-type: direct:production
dependency-group: cargo
...
Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotBot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Apr 15, 2026
@dependabot@github

dependabotBot commented on behalf of githubApr 23, 2026

Copy link
Copy Markdown
Author

Superseded by #9.

@dependabotdependabotBot closed this Apr 23, 2026
@dependabot
dependabotBot deleted the dependabot/cargo/cargo-562c7fcc39 branch April 23, 2026 02:43
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency filerustPull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants