primitives: Add core re-exports
This is not strictly needed but we would like to copy the public macros from `units` to primitives and they use `$crate::_export` paths.
This commit is contained in:
parent
dacf75594e
commit
79791e7444
|
@ -33,6 +33,14 @@ extern crate std;
|
|||
#[macro_use]
|
||||
extern crate serde;
|
||||
|
||||
#[doc(hidden)]
|
||||
pub mod _export {
|
||||
/// A re-export of `core::*`.
|
||||
pub mod _core {
|
||||
pub use core::*;
|
||||
}
|
||||
}
|
||||
|
||||
pub mod block;
|
||||
pub mod locktime;
|
||||
pub mod merkle_tree;
|
||||
|
|
Loading…
Reference in New Issue