embassy/embassy-sync/src/lib.rs

21 lines
494 B
Rust
Raw Permalink Normal View History

#![cfg_attr(not(any(feature = "std", feature = "wasm")), no_std)]
2023-10-02 14:00:49 +02:00
#![cfg_attr(feature = "nightly", feature(async_fn_in_trait))]
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;
2023-09-04 22:16:28 +02:00
pub mod zerocopy_channel;