1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#![crate_type = "lib"] #![warn(missing_docs)] //! Synchronization primitives based on spinning #![cfg_attr(feature = "const_fn", feature(const_fn))] #![no_std] #[cfg(test)] #[macro_use] extern crate std; pub use mutex::*; pub use rw_lock::*; #[cfg(feature = "once")] pub use once::*; mod mutex; mod rw_lock; #[cfg(feature = "once")] mod once;