1 unstable release
0.12.0 | Dec 5, 2023 |
---|
#1373 in Encoding
98KB
2K
SLoC
Serde Querystrings
This crate is a Rust library for serialising to and deserialising from
querystrings. This crate is designed to extend serde_urlencoded
when using nested parameters, similar to those used by qs for Node, and
commonly used by Ruby on Rails via Rack.
The core of the library was inspired by
serde_urlencoded
, which should be preferred
over this crate whenever non-nested query parameters are sufficient. It is built
upon Serde, a high performance generic serialization framework and rust-url,
a URL parser for Rust.
Installation
This crate works with Cargo and can be found on
crates.io with a Cargo.toml
like:
[dependencies]
serde_qs = "0.12"
Minimum supported Rust version is 1.36.
License
serde_qs is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in serde_qs by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~0.4–13MB
~174K SLoC