embassy/embassy/src/lib.rs

25 lines
567 B
Rust
Raw Normal View History

2020-10-12 14:05:48 +02:00
#![cfg_attr(not(feature = "std"), no_std)]
2020-09-22 18:03:43 +02:00
#![feature(generic_associated_types)]
2021-05-08 13:04:25 +10:00
#![feature(const_fn_trait_bound)]
2020-10-31 23:14:09 +01:00
#![feature(const_fn_fn_ptr_basics)]
#![feature(type_alias_impl_trait)]
2020-09-22 18:03:43 +02:00
// This mod MUST go first, so that the others see its macros.
pub(crate) mod fmt;
pub mod executor;
2020-12-29 00:05:52 +01:00
pub mod interrupt;
2020-09-22 18:03:43 +02:00
pub mod io;
#[cfg(feature = "time")]
pub mod time;
2020-09-24 23:26:24 +02:00
pub mod util;
2021-03-02 00:32:23 +01:00
pub use embassy_macros::*;
2021-03-02 00:32:23 +01:00
pub use embassy_traits as traits;
2021-03-17 01:47:45 +01:00
#[doc(hidden)]
/// Implementation details for embassy macros. DO NOT USE.
pub mod export {
pub use atomic_polyfill as atomic;
}