1#![doc = include_str!("../README.md")]
2#![warn(missing_docs)]
3#![warn(rustdoc::missing_crate_level_docs)]
4pub use parking_lot::{
11 Mutex, MutexGuard, ReentrantMutex, ReentrantMutexGuard, RwLock, RwLockReadGuard,
12 RwLockWriteGuard,
13};
14pub use std::time::{Duration, Instant};
16
17pub struct Blocking;
20
21pub struct TryLock;
23
24pub struct Recursive<T>(pub T);
27
28mod readlock_method;
29pub use readlock_method::*;
30
31mod writelock_method;
32pub use writelock_method::*;
33
34mod mutex_method;
35pub use mutex_method::*;
36
37mod reentrant_mutex_method;
38pub use reentrant_mutex_method::*;