embassy/embassy-sync/src/lib.rs

21 lines
519 B
Rust
Raw Normal View History

#![cfg_attr(not(any(feature = "std", feature = "wasm")), no_std)]
#![cfg_attr(feature = "nightly", feature(async_fn_in_trait, impl_trait_projections))]
2021-10-18 00:55:43 +02:00
#![allow(clippy::new_without_default)]
2022-08-23 13:54:40 +02:00
#![doc = include_str!("../README.md")]
#![warn(missing_docs)]
2020-09-22 18:03:43 +02:00
// This mod MUST go first, so that the others see its macros.
pub(crate) mod fmt;
2022-08-03 13:55:46 +02:00
// internal use
mod ring_buffer;
pub mod blocking_mutex;
pub mod channel;
2022-04-06 01:23:42 +02:00
pub mod mutex;
2022-08-03 13:55:46 +02:00
pub mod pipe;
2022-08-22 22:00:06 +02:00
pub mod pubsub;
pub mod signal;
2022-04-06 01:23:42 +02:00
pub mod waitqueue;
pub mod zero_copy_channel;