primitives: Re-export everything from units

We recently decided to make everything in `units` available at the same
path as in `primitives` and not re-export the actual `units` crate.

Re-export everything from the `units` crate root at the `primitives`
crate root using a wildcard.
This commit is contained in:
Tobin C. Harding 2024-07-23 01:52:40 -05:00
parent 7a44908aee
commit 991c73cdf9
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 3 additions and 0 deletions

View File

@ -32,6 +32,9 @@ pub mod locktime;
pub mod opcodes;
pub mod sequence;
#[doc(inline)]
pub use units::*;
#[doc(inline)]
#[cfg(feature = "alloc")]
pub use self::locktime::{absolute, relative};