From d3ceb110577dc002091c053141c95a4686c40064 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Mon, 25 Jul 2022 22:54:57 +0300 Subject: [PATCH] chore: reimport mods --- examples/calc.rs | 3 +-- examples/dotenv.rs | 4 +--- src/lib.rs | 7 +++++++ 3 files changed, 9 insertions(+), 5 deletions(-) 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;