From e3d9376a9b62598e1e3e005c0e1accd39faf49a0 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Mon, 22 Jul 2024 12:10:28 -0500 Subject: [PATCH] units: Remove serde re-export We re-export to help users keep their dependencies in sync but `serde` is at `v1.0` so this is not really a problem. Remove the public re-export of `serde` (and with current MSRV we don't need the `extern crate` at all). --- units/src/lib.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/units/src/lib.rs b/units/src/lib.rs index 249e9867b..abd1875f8 100644 --- a/units/src/lib.rs +++ b/units/src/lib.rs @@ -27,10 +27,6 @@ extern crate alloc; #[cfg(feature = "std")] extern crate std; -/// A generic serialization/deserialization framework. -#[cfg(feature = "serde")] -pub extern crate serde; - pub mod amount; #[cfg(feature = "alloc")] pub mod block;