68: Allow serialization of unit type r=nox a=maxv-rust That changes provides support for unit type serialization. It may looks like it doesn't make sense to serialize `()`. Unfortunately that kind of serialization may be necessary for generic structures where one of generic argument may be `()`. Closes #69 Co-authored-by: MaxV <60802079+maxv-rust@users.noreply.github.com>
x-www-form-urlencoded
meets Serde
This crate is a Rust library for serialising to and deserialising from
the application/x-www-form-urlencoded
format. 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_urlencoded = "0.5.1"
Getting help
Serde developers live in the #serde channel on
irc.mozilla.org
and most rust-url developers
live in the #servo one. The #rust channel is also a good resource with generally
faster response time but less specific knowledge about Serde, rust-url or this
crate. If IRC is not your thing, we are happy to respond to GitHub
issues as well.
License
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.
Contribution
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.