diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -13,9 +13,11 @@ querystrings. This crate is designed to extend [`serde_urlencoded`][urlencoded] when using nested parameters, similar to those used by [qs][qs] for Node, and commonly used by Ruby on Rails via [Rack][Rack]. -The core of the library was inspired by -[`serde_urlencoded`][urlencoded], which should be preferred -over this crate whenever non-nested query parameters are sufficient. It is built +The core of the library was inspired by [`serde_urlencoded`][urlencoded]. +In order to support abitrarily nested structs encoded in arbitrary orders, we +perform two passes over the input string. This likely adds a non-trivial amount +of memory and compute. Due to this `serde_urlencoded` should be preferred +over this crate whenever non-nested query parameters are sufficient. The crate is built upon [Serde], a high performance generic serialization framework and [rust-url], a URL parser for Rust. @@ -33,10 +35,12 @@ This crate works with Cargo and can be found on ```toml [dependencies] -serde_qs = "0.12" +serde_qs = "0.13" ``` -Minimum supported Rust version is 1.36. +Minimum supported Rust version is 1.63 due to dependencies. + +For older versions of Rust, `serde_qs` versions `<= 0.11` support Rust 1.36. [crates.io]: https://crates.io/crates/serde_qs |