primitives: Fix crate level re-exports
What changed, and why it matters
This commit is a routine library cleanup: it adds two missing public re-exports (`parse` and `result::{self, NumOpResult}`) from the `units` crate into the `primitives` crate so that all `units` items are consistently available through `primitives`. There is no security-relevant change.
No security action needed. Treat as normal maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff only touches primitives/src/lib.rs and adds two pub use units::{ ... } entries: parse and result::{self, NumOpResult}. This is a pure API surface/export consistency fix. No logic, parsing, arithmetic, cryptographic, or memory-safety code is modified.
Changed components
primitives/src/lib.rsInspect captured patch +2 / −0
diff --git a/primitives/src/lib.rs b/primitives/src/lib.rs
index 5eab0d51..fc4ea404 100644
--- a/primitives/src/lib.rs
+++ b/primitives/src/lib.rs
@@ -53,6 +53,8 @@ pub use units::{
block::{BlockHeight, BlockHeightInterval, BlockMtp, BlockMtpInterval},
fee_rate::{self, FeeRate},
locktime::{self, absolute, relative},
+ parse,
+ result::{self, NumOpResult},
sequence::{self, Sequence},
time::{self, BlockTime},
weight::{self, Weight},
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.