summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorSam Scott <sam@osohq.com>2022-07-13 10:30:29 -0500
committerSam Scott <sam@osohq.com>2022-07-13 10:30:29 -0500
commitc446c5f6d8853e63dca8e666bd502c8e5fa5337d (patch)
tree8e3411eacae71553307e8b509d3471d780483cee /src/lib.rs
parent0459c5e88e90e297ddb916ab96e62cdfaf7c3414 (diff)
Add a standalone serializer.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs8
1 files changed, 5 insertions, 3 deletions
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;