Skip to content

deps: Bump rand from 0.10.1 to 0.10.2 - #434

Merged
eduralph merged 1 commit into
mainfrom
dependabot/cargo/rand-0.10.2
Jul 5, 2026
Merged

deps: Bump rand from 0.10.1 to 0.10.2#434
eduralph merged 1 commit into
mainfrom
dependabot/cargo/rand-0.10.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 5, 2026

Copy link
Copy Markdown
Contributor

Bumps rand from 0.10.1 to 0.10.2.

Changelog

Sourced from rand's changelog.

[0.10.2] — 2026-07-02

Fixes

  • Fix possible memory safety violation due to deserialization of UniformChar from bad source (#1790)

Changes

  • Document required output order of fn partial_shuffle and apply #[must_use] (#1769)
  • Avoid usage of unsafe in contexts where non-local memory corruption could invalidate contract (#1791)

#1769: rust-random/rand#1769 #1790: rust-random/rand#1790 #1791: rust-random/rand#1791

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Jul 5, 2026
@eduralph

eduralph commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

@dependabot recreate

The bump itself is good (rand 0.10.2 is a memory-safety patch — UniformChar deserialization, rust-random/rand#1790), but the current lockfile diff also carries an unrelated, non-minimal change: tempfile's getrandom is downgraded 0.4.3 → 0.3.4, which isn't a consequence of the rand bump (a clean cargo update -p rand --precise 0.10.2 leaves tempfile on 0.4.3). Recreating should regenerate a minimal diff touching only rand.

Bumps [rand](https://github.com/rust-random/rand) from 0.10.1 to 0.10.2.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](rust-random/rand@0.10.1...0.10.2)

---
updated-dependencies:
- dependency-name: rand
  dependency-version: 0.10.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/rand-0.10.2 branch from 8e1de06 to 2f7bfbc Compare July 5, 2026 16:14
@eduralph

eduralph commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Correction to my earlier comment: the tempfile getrandom 0.4.3 → 0.3.4 change is not unrelated churn — I misread a cargo update dry-run whose summary line only listed rand. Running the update for real reproduces this lock byte-for-byte, so it's a deterministic resolver outcome of the bump (which is why recreate regenerated the identical commit). It's inert: all three getrandom majors already coexist on main, none added or removed, and the advisory wall passes. Merging as-is.

@eduralph
eduralph merged commit 45ce83b into main Jul 5, 2026
12 checks passed
@eduralph
eduralph deleted the dependabot/cargo/rand-0.10.2 branch July 5, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant