comma_serde_urlencoded 0.7.6

serde_urlencoded with support sequences and tuples
Documentation

comma_serde_urlencoded

serde_urlencoded with support sequences and tuples

Installation

This crate works with Cargo and can be found on crates.io with a Cargo.toml like:

[dependencies]
comma_serde_urlencoded = "0.7"

The documentation is available on docs.rs.

Example

let meal = &(
    ("bread", ["baguette", "strucia"]),
    ("cheese", vec!["comté", "cheddar"]),
    ("meat", ("ham", "becon"))
);

assert_eq!(
    comma_serde_urlencoded::to_string(meal),
    Ok("bread=baguette%2Cstrucia&cheese=comt%C3%A9%2Ccheddar&meat=ham%2Cbecon".to_owned())
);

License

comma_serde_urlencoded is licensed under either of

at your option.

Contribution

serde_urlencoded licenses

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.