X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Flib.rs;h=5274ea0bf309ce2d0709936d496d8a098b561ebc;hb=68af6d080968f67e965b94f2cee1dea662e3c161;hp=3bcd5d72c64e19c3adf89d5c8580016582e2462c;hpb=dfb250b976eb9ad9e93f0c3f543ad88b76924d42;p=rust-lightning diff --git a/lightning/src/lib.rs b/lightning/src/lib.rs index 3bcd5d72..5274ea0b 100644 --- a/lightning/src/lib.rs +++ b/lightning/src/lib.rs @@ -61,7 +61,7 @@ compile_error!("Tests will always fail with cfg=fuzzing"); #[macro_use] extern crate alloc; -extern crate bitcoin; +pub extern crate bitcoin; #[cfg(any(test, feature = "std"))] extern crate core; @@ -96,6 +96,8 @@ pub use core2::io; #[cfg(not(feature = "std"))] #[doc(hidden)] /// IO utilities public only for use by in-crate macros. These should not be used externally +/// +/// This is not exported to bindings users as it is not intended for public consumption. pub mod io_extras { use core2::io::{self, Read, Write}; @@ -158,6 +160,8 @@ pub mod io_extras { #[cfg(feature = "std")] #[doc(hidden)] /// IO utilities public only for use by in-crate macros. These should not be used externally +/// +/// This is not exported to bindings users as it is not intended for public consumption. mod io_extras { pub fn read_to_end(mut d: D) -> Result, ::std::io::Error> { let mut buf = Vec::new();