Merge testutils crate into the main crate

This avoids having to keep the apis in sync between the macros and the
main project.
This commit is contained in:
LLFourn
2021-05-19 13:04:32 +10:00
parent fcae5adabd
commit d60c5003bf
11 changed files with 50 additions and 75 deletions

View File

@@ -228,16 +228,12 @@ pub extern crate reqwest;
#[cfg(feature = "key-value-db")]
pub extern crate sled;
#[allow(unused_imports)]
#[cfg(test)]
#[macro_use]
extern crate testutils;
#[allow(unused_imports)]
#[cfg(test)]
#[allow(unused_imports)]
#[cfg(test)]
#[macro_use]
extern crate serial_test;
pub extern crate serial_test;
#[macro_use]
pub(crate) mod error;
@@ -265,3 +261,6 @@ pub use wallet::Wallet;
pub fn version() -> &'static str {
env!("CARGO_PKG_VERSION", "unknown")
}
#[cfg(any(feature = "testutils", test))]
pub mod testutils;