Skip to content

Commit

Permalink
Merge #291
Browse files Browse the repository at this point in the history
291: Remove RNG traits r=ryankurte a=eldruin

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

Co-authored-by: Diego Barrios Romero <eldruin@gmail.com>
  • Loading branch information
bors[bot] and eldruin committed Jul 9, 2021
2 parents 1b2ae70 + fb76c49 commit 113cb81
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 30 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

## [v1.0.0-alpha.4] - 2020-11-11

### Fixed
Expand Down
1 change: 0 additions & 1 deletion src/blocking/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ pub mod digital;
pub mod i2c;
pub mod pwm;
pub mod qei;
pub mod rng;
pub mod serial;
pub mod spi;
pub mod watchdog;
16 changes: 0 additions & 16 deletions src/blocking/rng.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/nb/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
pub use nb::{block, Error, Result};
pub mod adc;
pub mod capture;
pub mod rng;
pub mod serial;
pub mod spi;
pub mod timer;
12 changes: 0 additions & 12 deletions src/nb/rng.rs

This file was deleted.

0 comments on commit 113cb81

Please sign in to comment.