embassy_sync/lib.rs
1#![cfg_attr(not(feature = "std"), no_std)]
2#![allow(async_fn_in_trait)]
3#![allow(clippy::new_without_default)]
4#![doc = include_str!("../README.md")]
5#![warn(missing_docs)]
6
7// This mod MUST go first, so that the others see its macros.
8pub(crate) mod fmt;
9
10// internal use
11mod ring_buffer;
12
13pub mod blocking_mutex;
14pub mod channel;
15pub mod lazy_lock;
16pub mod mutex;
17pub mod once_lock;
18pub mod pipe;
19pub mod priority_channel;
20pub mod pubsub;
21pub mod semaphore;
22pub mod signal;
23pub mod waitqueue;
24pub mod watch;
25pub mod zerocopy_channel;