diff options
author | Sam Scott <sam@osohq.com> | 2022-07-13 10:30:29 -0500 |
---|---|---|
committer | Sam Scott <sam@osohq.com> | 2022-07-13 10:30:29 -0500 |
commit | c446c5f6d8853e63dca8e666bd502c8e5fa5337d (patch) | |
tree | 8e3411eacae71553307e8b509d3471d780483cee /src/lib.rs | |
parent | 0459c5e88e90e297ddb916ab96e62cdfaf7c3414 (diff) |
Add a standalone serializer.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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; |