Collect all lightning std::sync imports under crate::sync
[rust-lightning] / lightning / src / lib.rs
index c84e3d2d8da24aaeb826cc2e258410d4c7c79c67..1088063540c97f51e03d0bcebbcde1773fb83970 100644 (file)
@@ -53,3 +53,7 @@ mod prelude {
        #[cfg(feature = "hashbrown")]
        pub use self::hashbrown::{HashMap, HashSet, hash_map};
 }
+
+mod sync {
+       pub use ::std::sync::{Arc, Mutex, Condvar, MutexGuard, RwLock, RwLockReadGuard};
+}