From 8ea218f9076503c434152b7a90122d9ff456cb48 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Thu, 25 Mar 2021 19:49:30 +0800 Subject: [PATCH] Metadata pulls in serde. --- CHANGELOG.md | 4 +++- src/serde/mod.rs | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 91efdb6c..2345ed34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,9 @@ an object map is small. `HashMap` and `BTreeMap` have almost identical public API's so this change is unlikely to break existing code. -All function signature/metadata methods are now grouped under the umbrella `metadata` feature. +Im addition, all function signature/metadata methods are now grouped under the umbrella `metadata` feature. +This avoids spending precious resources maintaining metadata for functions for the vast majority of +use cases where such information is not required. Breaking changes diff --git a/src/serde/mod.rs b/src/serde/mod.rs index adb605de..a3819556 100644 --- a/src/serde/mod.rs +++ b/src/serde/mod.rs @@ -8,7 +8,6 @@ mod serialize; mod str; #[cfg(feature = "metadata")] -#[cfg(feature = "serde")] mod metadata; pub use de::from_dynamic;