Skip to content

Conversation

@cratelyn
Copy link
Member

@cratelyn cratelyn commented Jan 28, 2025

supersedes #3569.

this branch updates rand from 0.8.5 to 0.9.0.

note the changes to rand::distr::weighted::Error's variants. see rust-random/rand#1382, and rust-random/rand#1470. in particular, this change: https://github.com/rust-random/rand/pull/1382/files#diff-b0eb1b0ef894742b65e07f23af6cbeffae64ec8311adb6ea606603e978023e0cL116-R113

most other changes in this branch relate to the renaming of thread_rng() to rng(), and gen() to random().

dependabot bot and others added 7 commits January 28, 2025 10:38
Bumps [rand](https://github.com/rust-random/rand) from 0.8.5 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@0.8.5...0.9.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
this addresses some ci errors related to duplicate dependencies:

```
error[duplicate]: found 2 duplicate entries for crate 'getrandom'
   ┌─ /github/workspace/Cargo.lock:75:1
   │
75 │ ╭ getrandom 0.2.15 registry+https://github.com/rust-lang/crates.io-index
76 │ │ getrandom 0.3.1 registry+https://github.com/rust-lang/crates.io-index
   │ ╰─────────────────────────────────────────────────────────────────────┘ lock entries
   │
```

Signed-off-by: katelyn martin <[email protected]>
@cratelyn cratelyn requested review from olix0r and sfleen January 28, 2025 17:37
@cratelyn cratelyn marked this pull request as ready for review January 28, 2025 17:38
@cratelyn cratelyn requested a review from a team as a code owner January 28, 2025 17:38
@cratelyn cratelyn merged commit 31d9e8f into main Jan 28, 2025
23 checks passed
@cratelyn cratelyn deleted the kate/dependabot.update-rand-0.9.0 branch January 28, 2025 21:31
@cratelyn
Copy link
Member Author

the corresponding update to the control plane can be found in linkerd/linkerd2#13604.

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.

4 participants