X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Flib.rs;h=1f3ab47b1ae3f7d2ca8802e46c267d5428e3822c;hb=1e26a2bc197207be512d905b05595492242b5f90;hp=045a8f73cca778812c6e03062ef2b7a8a478e217;hpb=070dd74602a54162718ac6f28c4e9e7db8cc51bf;p=rust-lightning diff --git a/lightning/src/lib.rs b/lightning/src/lib.rs index 045a8f73..1f3ab47b 100644 --- a/lightning/src/lib.rs +++ b/lightning/src/lib.rs @@ -78,6 +78,8 @@ extern crate core; pub mod util; pub mod chain; pub mod ln; +#[allow(unused)] +mod offers; pub mod routing; pub mod onion_message; @@ -181,7 +183,7 @@ extern crate backtrace; #[cfg(feature = "std")] mod sync { #[cfg(all(not(feature = "_bench_unstable"), test))] - pub use debug_sync::*; + pub use crate::debug_sync::*; #[cfg(any(feature = "_bench_unstable", not(test)))] pub use ::std::sync::{Arc, Mutex, Condvar, MutexGuard, RwLock, RwLockReadGuard, RwLockWriteGuard}; #[cfg(any(feature = "_bench_unstable", not(test)))]