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)]
|
2021-03-02 08:45:22 -06:00
|
|
|
#![feature(type_alias_impl_trait)]
|
2020-09-22 18:03:43 +02:00
|
|
|
|
2020-12-01 17:46:56 +01:00
|
|
|
// This mod MUST go first, so that the others see its macros.
|
|
|
|
pub(crate) mod fmt;
|
|
|
|
|
2020-09-25 03:25:06 +02:00
|
|
|
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;
|
2021-07-12 03:29:09 +02:00
|
|
|
#[cfg(feature = "time")]
|
2020-09-25 03:25:06 +02:00
|
|
|
pub mod time;
|
2020-09-24 23:26:24 +02:00
|
|
|
pub mod util;
|
2021-03-02 00:32:23 +01:00
|
|
|
|
2021-03-29 03:00:48 +02: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;
|
|
|
|
}
|