X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Flib.rs;h=132189858fd4855cbded65af580a2a3611d7d9c5;hb=acb4c539f7753efab69f430b84b6261e740d5d43;hp=8fdf63ffad0e7f370359a9a3922490f939d05587;hpb=963f8d93b58ebf5d5ee1d6e3e3654c11a4597a0f;p=rust-lightning diff --git a/lightning/src/lib.rs b/lightning/src/lib.rs index 8fdf63ff..13218985 100644 --- a/lightning/src/lib.rs +++ b/lightning/src/lib.rs @@ -18,8 +18,8 @@ //! 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(test, feature = "fuzztarget", feature = "_test_utils")), deny(missing_docs))] -#![cfg_attr(not(any(test, feature = "fuzztarget", feature = "_test_utils")), forbid(unsafe_code))] +#![cfg_attr(not(any(test, fuzzing, feature = "_test_utils")), deny(missing_docs))] +#![cfg_attr(not(any(test, fuzzing, feature = "_test_utils")), forbid(unsafe_code))] #![deny(broken_intra_doc_links)] // In general, rust is absolutely horrid at supporting users doing things like, @@ -43,7 +43,7 @@ extern crate bitcoin; extern crate core; #[cfg(any(test, feature = "_test_utils"))] extern crate hex; -#[cfg(any(test, feature = "fuzztarget", feature = "_test_utils"))] extern crate regex; +#[cfg(any(test, fuzzing, feature = "_test_utils"))] extern crate regex; #[cfg(not(feature = "std"))] extern crate core2;