From 991c73cdf9dbdbcd90b41d629d506b26cd440e73 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Tue, 23 Jul 2024 01:52:40 -0500 Subject: [PATCH] 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. --- primitives/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/primitives/src/lib.rs b/primitives/src/lib.rs index bd7d57f7d..342352994 100644 --- a/primitives/src/lib.rs +++ b/primitives/src/lib.rs @@ -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};