Change Persist's Sign from an associated type to a generic param
[rust-lightning] / lightning / src / lib.rs
index c5d369268cc6836f462ddb69d4c1b58c2a2047c5..7310a49aef53ac6f1432df78c0e04103002836ab 100644 (file)
 #![allow(bare_trait_objects)]
 #![allow(ellipsis_inclusive_range_patterns)]
 
+#![cfg_attr(all(test, feature = "unstable"), feature(test))]
+#[cfg(all(test, feature = "unstable"))] extern crate test;
+
 extern crate bitcoin;
 #[cfg(any(test, feature = "_test_utils"))] extern crate hex;
-#[cfg(any(test, feature = "_test_utils"))] extern crate regex;
+#[cfg(any(test, feature = "fuzztarget", feature = "_test_utils"))] extern crate regex;
 
 #[macro_use]
 pub mod util;