X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Flib.rs;h=160f632415b472238b18f728e43c990fdf002f45;hb=8e472669a1326d13424f3ebde40b6b6ff4e0a94d;hp=c42f66da5764ec95c656a9b72e6fe10c6c66d771;hpb=68e25c6c851b76115613dfd770e27b182404cc56;p=rust-lightning diff --git a/lightning/src/lib.rs b/lightning/src/lib.rs index c42f66da..160f6324 100644 --- a/lightning/src/lib.rs +++ b/lightning/src/lib.rs @@ -69,6 +69,7 @@ extern crate hex; #[cfg(any(test, feature = "_test_utils"))] extern crate regex; #[cfg(not(feature = "std"))] extern crate core2; +#[cfg(not(feature = "std"))] extern crate libm; #[cfg(ldk_bench)] extern crate criterion; @@ -83,6 +84,8 @@ pub mod onion_message; pub mod blinded_path; pub mod events; +pub(crate) mod crypto; + #[cfg(feature = "std")] /// Re-export of either `core2::io` or `std::io`, depending on the `std` feature flag. pub use std::io;