diff --git a/examples/calc.rs b/examples/calc.rs index 996e2f6..27ea9e4 100644 --- a/examples/calc.rs +++ b/examples/calc.rs @@ -1,5 +1,4 @@ -use estring::structs::SepVec; -use estring::EString; +use estring::{EString, SepVec}; type PlusVec = SepVec; type MulVec = SepVec; diff --git a/examples/dotenv.rs b/examples/dotenv.rs index 9c71cb4..a13d441 100644 --- a/examples/dotenv.rs +++ b/examples/dotenv.rs @@ -1,6 +1,4 @@ -use estring::low::Trim; -use estring::structs::{Pair, SepVec}; -use estring::EString; +use estring::{EString, Pair, SepVec, Trim}; const DOTENV_CONTENT: &str = " DATABASE_URL=postgres://user:password@localhost:5432/recipes diff --git a/src/lib.rs b/src/lib.rs index 90a9ac2..c056c99 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -38,10 +38,17 @@ pub mod std; #[cfg(feature = "aggs")] pub mod agg; +#[cfg(feature = "aggs")] +pub use agg::*; + #[cfg(feature = "low-level")] pub mod low; +#[cfg(feature = "low-level")] +pub use low::*; #[cfg(feature = "structs")] pub mod structs; +#[cfg(feature = "structs")] +pub use structs::*; pub use crate::core::*; pub use crate::error::ParseError;