diff --git a/CHANGELOG.md b/CHANGELOG.md index 04ff219..1e7dbff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # 1.0.0 (unreleased) +- **Breaking change:** `anymap::any` flattened out of existence: + `anymap::any::{Any, CloneAny}` are now found at `anymap::{Any, CloneAny}`. + - Relicensed from MIT/Apache-2.0 to BlueOak-1.0.0/MIT/Apache-2.0. - Increased the minimum supported version of Rust from 1.7.0 to 1.34.0. diff --git a/src/lib.rs b/src/lib.rs index c9e0276..3f656e3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,7 +6,8 @@ use std::any::TypeId; use std::marker::PhantomData; use raw::RawMap; -use any::{UncheckedAnyExt, IntoBox, Any}; +use any::{UncheckedAnyExt, IntoBox}; +pub use any::{Any, CloneAny}; macro_rules! impl_common_methods { ( @@ -85,7 +86,7 @@ macro_rules! impl_common_methods { } } -pub mod any; +mod any; pub mod raw; /// A collection containing zero or one values for any given type and allowing convenient,