Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to rand 0.9 #215

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

tottoto
Copy link
Contributor

@tottoto tottoto commented Jan 30, 2025

Updates to rand 0.9.

@@ -22,8 +22,8 @@ members = ["examples/*"]
[dependencies]
bytes = "1.4"
indexmap = "2"
rand = { version = "0.8.5", features = ["small_rng"] }
rand_distr = "0.4.3"
rand = { version = "0.9", features = ["small_rng"] }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a little fuzzy on cargo resolver. Will this break consumers who also declare a dependency on 0.8?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems a breaking change as rand updated rand_core and rand_core::RngCore is exposed at the Builder::build_with_rng.

https://docs.rs/turmoil/0.6.5/turmoil/struct.Builder.html#method.build_with_rng

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's stash this one and we can bundle it when we go to 0.7?

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.

2 participants