File tree 2 files changed +10
-7
lines changed
2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -251,6 +251,14 @@ pub extern crate sled;
251
251
#[ cfg( feature = "sqlite" ) ]
252
252
pub extern crate rusqlite;
253
253
254
+ // We should consider putting this under a feature flag but we need the macro in doctests so we need
255
+ // to wait until https://github.com/rust-lang/rust/issues/67295 is fixed.
256
+ //
257
+ // Stuff in here is too rough to document atm
258
+ #[ doc( hidden) ]
259
+ #[ macro_use]
260
+ pub mod testutils;
261
+
254
262
#[ allow( unused_imports) ]
255
263
#[ macro_use]
256
264
pub ( crate ) mod error;
@@ -279,10 +287,3 @@ pub use wallet::Wallet;
279
287
pub fn version ( ) -> & ' static str {
280
288
env ! ( "CARGO_PKG_VERSION" , "unknown" )
281
289
}
282
-
283
- // We should consider putting this under a feature flag but we need the macro in doctests so we need
284
- // to wait until https://github.com/rust-lang/rust/issues/67295 is fixed.
285
- //
286
- // Stuff in here is too rough to document atm
287
- #[ doc( hidden) ]
288
- pub mod testutils;
Original file line number Diff line number Diff line change @@ -267,3 +267,5 @@ macro_rules! testutils {
267
267
( external, internal)
268
268
} )
269
269
}
270
+
271
+ pub use testutils;
You can’t perform that action at this time.
0 commit comments