-
Notifications
You must be signed in to change notification settings - Fork 223
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
Remove RNG traits #291
Remove RNG traits #291
Conversation
r? @ryankurte (rust-highfive has picked a reviewer for you, use r? to override) |
@@ -20,6 +20,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/). | |||
- `blocking::Serial`: renamed `bwrite_all` to `write`, `bflush` to `flush. | |||
- Removed `prelude` to avoid method name conflicts between different flavors (blocking, nb) of the same trait. Traits must now be manually imported. | |||
|
|||
### Removed | |||
- Removed random number generation (`rng`) traits in favor of [rand_core](https://crates.io/crates/rand_core). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably out of scope but (and plausible we already have one) but, it could be neat to have a using rand section in one of our books we could direct people to?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is a good idea. We can then also add a reference to that in the migration guide.
I filed rust-embedded/rust-embedded.github.io#35
@ryankurte would you like to wait until the guide on how to implement the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i don't really mind either way, seems fine to me
Ok let's get this merged then. |
Duplicate of #270 adapted to the current status.
The documentation about what happened to the traits will go into the migration guide. See: #284.
Closes #270
Closes #128