embassy/embassy-sync/src/lib.rs

20 lines
501 B
Rust
Raw Normal View History

#![cfg_attr(not(any(feature = "std", feature = "wasm")), no_std)]
2022-06-12 22:15:44 +02:00
#![cfg_attr(feature = "nightly", feature(generic_associated_types, type_alias_impl_trait))]
2021-10-18 00:55:43 +02:00
#![allow(clippy::new_without_default)]
#![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;