Skip to content

Commit

Permalink
prelude: add prelude
Browse files Browse the repository at this point in the history
  • Loading branch information
astapleton committed May 31, 2024
1 parent d4d7a7d commit 672ba8f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ pub use crate::stm32 as device;
#[cfg(feature = "rt")]
#[cfg_attr(docsrs, doc(cfg(feature = "rt")))]
pub use crate::stm32::interrupt;

#[cfg(feature = "device-selected")]
pub mod prelude;
4 changes: 4 additions & 0 deletions src/prelude.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
//! Prelude
pub use embedded_hal::prelude::*;

pub use fugit::{ExtU32 as _, RateExtU32 as _};

0 comments on commit 672ba8f

Please sign in to comment.