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

Remove RNG traits in favor of rand_core. #270

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Changed
- Swap PWM channel arguments to references
- Dropped RNG traits in favor of [rand_core](https://crates.io/crates/rand_core)
jounathaen marked this conversation as resolved.
Show resolved Hide resolved

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

Expand Down
1 change: 0 additions & 1 deletion src/blocking/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@

pub mod delay;
pub mod i2c;
pub mod rng;
pub mod serial;
pub mod spi;
16 changes: 0 additions & 16 deletions src/blocking/rng.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,6 @@ pub mod fmt;
pub mod prelude;
pub mod pwm;
pub mod qei;
pub mod rng;
pub mod serial;
pub mod spi;
pub mod timer;
Expand Down
2 changes: 0 additions & 2 deletions src/prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ pub use crate::blocking::i2c::{
WriteIterRead as _embedded_hal_blocking_i2c_WriteIterRead,
WriteRead as _embedded_hal_blocking_i2c_WriteRead,
};
pub use crate::blocking::rng::Read as _embedded_hal_blocking_rng_Read;
pub use crate::blocking::serial::Write as _embedded_hal_blocking_serial_Write;
pub use crate::blocking::spi::{
Transfer as _embedded_hal_blocking_spi_Transfer, Write as _embedded_hal_blocking_spi_Write,
Expand All @@ -28,7 +27,6 @@ pub use crate::digital::ToggleableOutputPin as _embedded_hal_digital_ToggleableO
pub use crate::pwm::Pwm as _embedded_hal_Pwm;
pub use crate::pwm::PwmPin as _embedded_hal_PwmPin;
pub use crate::qei::Qei as _embedded_hal_Qei;
pub use crate::rng::Read as _embedded_hal_rng_Read;
pub use crate::serial::Read as _embedded_hal_serial_Read;
pub use crate::serial::Write as _embedded_hal_serial_Write;
pub use crate::spi::FullDuplex as _embedded_hal_spi_FullDuplex;
Expand Down
14 changes: 0 additions & 14 deletions src/rng.rs

This file was deleted.