What changed, and why it matters
This commit is purely a code-style cleanup. It rearranges public re-exports of external crates in the units library to match the project's preferred grouping and alphabetical ordering. No functionality, behavior, or security properties change.
No action required. This is a non-functional style refactor.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff only reorders and regroups pub extern crate declarations in units/src/lib.rs. It moves arbitrary above encoding and serde, removes blank lines between alloc/std and between encoding/serde, and adds a blank line between the std/alloc group and the optional public dependency group. There are no semantic changes.
Changed components
units/src/lib.rsInspect captured patch +2 / −5
diff --git a/units/src/lib.rs b/units/src/lib.rs
index 1dee71a5..3ce26681 100644
--- a/units/src/lib.rs
+++ b/units/src/lib.rs
@@ -28,19 +28,16 @@
#[cfg(feature = "alloc")]
extern crate alloc;
-
#[cfg(feature = "std")]
extern crate std;
+#[cfg(feature = "arbitrary")]
+pub extern crate arbitrary;
#[cfg(feature = "encoding")]
pub extern crate encoding;
-
#[cfg(feature = "serde")]
pub extern crate serde;
-#[cfg(feature = "arbitrary")]
-pub extern crate arbitrary;
-
#[doc(hidden)]
pub mod _export {
/// A re-export of `core::*`.
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.