From c446c5f6d8853e63dca8e666bd502c8e5fa5337d Mon Sep 17 00:00:00 2001 From: Sam Scott Date: Wed, 13 Jul 2022 10:30:29 -0500 Subject: Add a standalone serializer. --- src/lib.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 27a35c9..5da6284 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -203,8 +203,7 @@ serde_qs = { version = "0.9", features = ["actix4"] } mod de; mod error; mod ser; -#[cfg(feature = "warp")] -pub mod warp; +pub(crate) mod utils; #[doc(inline)] pub use de::Config; @@ -212,7 +211,10 @@ pub use de::Config; pub use de::{from_bytes, from_str}; pub use error::Error; #[doc(inline)] -pub use ser::{to_string, to_writer, QsSerializer}; +pub use ser::{to_string, to_writer, Serializer}; #[cfg(feature = "axum")] pub mod axum; + +#[cfg(feature = "warp")] +pub mod warp; -- cgit v1.2.3