Metadata pulls in serde.

This commit is contained in:
Stephen Chung 2021-03-25 19:49:30 +08:00
parent adbb5f8eb8
commit 8ea218f907
2 changed files with 3 additions and 2 deletions

View File

@ -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 `HashMap` and `BTreeMap` have almost identical public API's so this change is unlikely to break
existing code. 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 Breaking changes

View File

@ -8,7 +8,6 @@ mod serialize;
mod str; mod str;
#[cfg(feature = "metadata")] #[cfg(feature = "metadata")]
#[cfg(feature = "serde")]
mod metadata; mod metadata;
pub use de::from_dynamic; pub use de::from_dynamic;