//! instead of having a rather-separate lightning appendage to a wallet.
#![cfg_attr(not(feature = "fuzztarget"), deny(missing_docs))]
-#![forbid(unsafe_code)]
// In general, rust is absolutely horrid at supporting users doing things like,
// for example, compiling Rust code for real environments. Disable useless lints
extern crate bitcoin;
#[cfg(test)] extern crate rand;
#[cfg(test)] extern crate hex;
+#[cfg(all(test, feature = "mutation_testing"))] extern crate mutagen;
#[macro_use]
pub mod util;
pub mod ln;
pub mod routing;
+#[cfg(all(
+ any(feature = "mutation_testing", feature = "fuzztarget"),
+ not(any(test, debug_assertions))
+ ))]
+const ERR: () = "You should never be building with feature = mutation_testing or feature = fuzztarget! They are used to compile with broken code for testing only!";