diff --git a/manul/src/lib.rs b/manul/src/lib.rs index df54003..8ad85bc 100644 --- a/manul/src/lib.rs +++ b/manul/src/lib.rs @@ -18,7 +18,7 @@ extern crate alloc; pub mod combinators; pub mod protocol; pub mod session; -pub(crate) mod utils; +pub mod utils; #[cfg(any(test, feature = "dev"))] pub mod dev; diff --git a/manul/src/utils.rs b/manul/src/utils.rs index 947a4bc..856394a 100644 --- a/manul/src/utils.rs +++ b/manul/src/utils.rs @@ -2,4 +2,4 @@ mod serializable_map; -pub(crate) use serializable_map::SerializableMap; +pub use serializable_map::SerializableMap; diff --git a/manul/src/utils/serializable_map.rs b/manul/src/utils/serializable_map.rs index eb46988..054bea7 100644 --- a/manul/src/utils/serializable_map.rs +++ b/manul/src/utils/serializable_map.rs @@ -18,7 +18,7 @@ use serde::{ /// This implementation serializes maps as sequences of key/value pairs, /// and checks for duplicate keys on deserialization. #[derive(Debug, Clone, PartialEq, Eq)] -pub(crate) struct SerializableMap(BTreeMap); +pub struct SerializableMap(BTreeMap); impl From> for SerializableMap { fn from(source: BTreeMap) -> Self {