Skip to content

Commit fb76c49

Browse files
committed
Remove RNG traits
1 parent facfe77 commit fb76c49

File tree

5 files changed

+3
-30
lines changed

5 files changed

+3
-30
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2020
- `blocking::Serial`: renamed `bwrite_all` to `write`, `bflush` to `flush.
2121
- Removed `prelude` to avoid method name conflicts between different flavors (blocking, nb) of the same trait. Traits must now be manually imported.
2222

23+
### Removed
24+
- Removed random number generation (`rng`) traits in favor of [rand_core](https://crates.io/crates/rand_core).
25+
2326
## [v1.0.0-alpha.4] - 2020-11-11
2427

2528
### Fixed

src/blocking/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ pub mod digital;
99
pub mod i2c;
1010
pub mod pwm;
1111
pub mod qei;
12-
pub mod rng;
1312
pub mod serial;
1413
pub mod spi;
1514
pub mod watchdog;

src/blocking/rng.rs

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/nb/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
pub use nb::{block, Error, Result};
1818
pub mod adc;
1919
pub mod capture;
20-
pub mod rng;
2120
pub mod serial;
2221
pub mod spi;
2322
pub mod timer;

src/nb/rng.rs

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)