mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 22:05:37 +01:00
21 lines
332 B
Rust
21 lines
332 B
Rust
//! Synchronization primitives for asynchronous contexts.
|
|
|
|
#![cfg_attr(not(loom), no_std)]
|
|
#![deny(missing_docs)]
|
|
|
|
#[cfg(feature = "defmt-03")]
|
|
use defmt_03 as defmt;
|
|
|
|
pub mod arbiter;
|
|
pub mod channel;
|
|
pub use portable_atomic;
|
|
pub mod signal;
|
|
|
|
mod unsafecell;
|
|
|
|
#[cfg(test)]
|
|
#[macro_use]
|
|
extern crate std;
|
|
|
|
#[cfg(loom)]
|
|
mod loom_cs;
|