projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Collect all lightning std::sync imports under crate::sync
[rust-lightning]
/
lightning
/
src
/
lib.rs
diff --git
a/lightning/src/lib.rs
b/lightning/src/lib.rs
index c84e3d2d8da24aaeb826cc2e258410d4c7c79c67..1088063540c97f51e03d0bcebbcde1773fb83970 100644
(file)
--- a/
lightning/src/lib.rs
+++ b/
lightning/src/lib.rs
@@
-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};
+}