diff options
author | 2022-03-15 19:31:24 +0000 | |
---|---|---|
committer | 2022-03-15 19:31:24 +0000 | |
commit | c2e77c5aee4a2c587f4bb3dc4a91a6bd02b322a6 (patch) | |
tree | 9e23f969f42dc40a1cde3d0d0d7604edfa7d73ba | |
parent | e6c7249982841a8a39ada0bc80e6d0e492a560c3 (diff) | |
parent | be7c591dd0527711a9d50cecaefe64987391dd1c (diff) | |
download | cortex-m-c2e77c5aee4a2c587f4bb3dc4a91a6bd02b322a6.tar.gz cortex-m-c2e77c5aee4a2c587f4bb3dc4a91a6bd02b322a6.tar.zst cortex-m-c2e77c5aee4a2c587f4bb3dc4a91a6bd02b322a6.zip |
Merge #425
425: Remove prelude. r=therealprof a=Dirbaio
Hoping to sneak this in before 0.8 :)
The prelude just reexports all of `embedded-hal 0.2`'s prelude. With EH1.0 around the corner it would be a shame to get stuck with 0.2 in the prelude, and changing it later is a breaking change.
Also, EH1.0 has removed the prelude.
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
-rw-r--r-- | src/lib.rs | 1 | ||||
-rw-r--r-- | src/prelude.rs | 3 |
2 files changed, 0 insertions, 4 deletions
@@ -57,7 +57,6 @@ pub mod interrupt; #[cfg(all(not(armv6m), not(armv8m_base)))] pub mod itm; pub mod peripheral; -pub mod prelude; pub mod register; pub use crate::peripheral::Peripherals; diff --git a/src/prelude.rs b/src/prelude.rs deleted file mode 100644 index bc47cc0..0000000 --- a/src/prelude.rs +++ /dev/null @@ -1,3 +0,0 @@ -//! Prelude - -pub use embedded_hal::prelude::*; |