X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Flib.rs;h=3338803f9a0c771a7ef976a0afba9bd28d6ded7f;hb=1b88f1638e5d743dc827b5f0e1ccd35f00b69907;hp=e1ae9433e23495c70bb0db99953debf0b4104e8d;hpb=0dfcacd22c23f69b6526c9c6507d21427a2b7ccb;p=rust-lightning diff --git a/lightning/src/lib.rs b/lightning/src/lib.rs index e1ae9433..3338803f 100644 --- a/lightning/src/lib.rs +++ b/lightning/src/lib.rs @@ -18,7 +18,7 @@ //! generated/etc. This makes it a good candidate for tight integration into an existing wallet //! instead of having a rather-separate lightning appendage to a wallet. -#![cfg_attr(not(any(feature = "fuzztarget", feature = "_test_utils")), deny(missing_docs))] +#![cfg_attr(not(any(test, feature = "fuzztarget", feature = "_test_utils")), deny(missing_docs))] #![cfg_attr(not(any(test, feature = "fuzztarget", feature = "_test_utils")), forbid(unsafe_code))] #![deny(broken_intra_doc_links)] @@ -33,8 +33,8 @@ #![cfg_attr(all(any(test, feature = "_test_utils"), feature = "unstable"), feature(test))] #[cfg(all(any(test, feature = "_test_utils"), feature = "unstable"))] extern crate test; -#[cfg(not(any(feature = "std", feature = "no_std")))] -compile_error!("at least one of the `std` or `no_std` features must be enabled"); +#[cfg(not(any(feature = "std", feature = "no-std")))] +compile_error!("at least one of the `std` or `no-std` features must be enabled"); #[macro_use] extern crate alloc;