embassy/embassy-sync/src/lib.rs

20 lines
472 B
Rust
Raw Normal View History

#![cfg_attr(not(any(feature = "std", feature = "wasm")), no_std)]
#![cfg_attr(feature = "nightly", feature(type_alias_impl_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;