Skip to main content

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#![allow(unsafe_op_in_unsafe_fn)]
5#![doc = include_str!("../README.md")]
6#![warn(missing_docs)]
7
8// This mod MUST go first, so that the others see its macros.
9pub(crate) mod fmt;
10
11// internal use
12mod ring_buffer;
13
14pub mod blocking_mutex;
15pub mod channel;
16pub mod lazy_lock;
17pub mod mutex;
18pub mod once_lock;
19pub mod pipe;
20pub mod priority_channel;
21pub mod pubsub;
22pub mod rwlock;
23pub mod semaphore;
24pub mod signal;
25pub mod waitqueue;
26pub mod watch;
27pub mod zerocopy_channel;