|0.8.1||Sep 14, 2022|
|0.8.0||Sep 14, 2022|
|0.7.6||Sep 11, 2022|
#339 in Encoding
150 downloads per month
Used in 5 crates (4 directly)
serde_urlencoded with support for serialization and deserialization of sequences and tuples in comma separated format.
This crate works with Cargo and can be found on
crates.io with a
[dependencies] comma_serde_urlencoded = "0.8"
The documentation is available on docs.rs.
let meal = &( ("bread", ["baguette", "strucia"]), ("cheese", vec!["comté", "cheddar"]), ("meat", ("ham", "becon")), ("fat", "butter"), ); assert_eq!( comma_serde_urlencoded::to_string(meal), Ok("bread=baguette%2Cstrucia&cheese=comt%C3%A9%2Ccheddar&meat=ham%2Cbecon&fat=butter".to_owned()) );
comma_serde_urlencoded 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.
- Apache License, Version 2.0, (NOX-LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (NOX-LICENSE-MIT or http://opensource.org/licenses/MIT)
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in serde_urlencoded by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.