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:
Tobin C. Harding 2024-12-28 09:03:42 +11:00
parent dacf75594e
commit 79791e7444
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 8 additions and 0 deletions

View File

@ -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;