summaryrefslogtreecommitdiff
path: root/src/lib.rs
blob: 3e095727afe48710636d7a9db7bd4bb18036551d (plain)
#![warn(clippy::pedantic)]
#![warn(clippy::nursery)]
#![allow(clippy::module_name_repetitions)]
#![allow(clippy::declare_interior_mutable_const)]

mod guard;
mod key;
mod lockable;
pub mod mutex;

pub use guard::LockGuard;
pub use key::{Key, ThreadKey};
pub use lockable::Lockable;
pub use mutex::ParkingMutex as Mutex;
pub use mutex::SpinLock;