#serde #serialization #urlencoded

serde_html_form

(De-)serialization support for the application/x-www-form-urlencoded format

5 releases

0.2.2 Jul 20, 2023
0.2.1 Jul 5, 2023
0.2.0 Jan 2, 2023
0.1.1 Dec 20, 2022
0.1.0 Apr 19, 2022

#160 in Encoding

Download history 10636/week @ 2023-06-06 15418/week @ 2023-06-13 15650/week @ 2023-06-20 17660/week @ 2023-06-27 16949/week @ 2023-07-04 11157/week @ 2023-07-11 14342/week @ 2023-07-18 13914/week @ 2023-07-25 13587/week @ 2023-08-01 11181/week @ 2023-08-08 12556/week @ 2023-08-15 12680/week @ 2023-08-22 11506/week @ 2023-08-29 12281/week @ 2023-09-05 12166/week @ 2023-09-12 8898/week @ 2023-09-19

47,484 downloads per month
Used in 30 crates (6 directly)

MIT license

63KB
1.5K SLoC

serde_html_form

(De-)serialization support for the application/x-www-form-urlencoded format.

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.

It is a fork of serde_urlencoded, with additional support for maps or structs with fields of sequence type (e.g. Vec<String>). It also supports Option in values, treating foo= as foo: None.

Installation

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

[dependencies]
serde_html_form = "0.2.0"

The documentation is available on docs.rs.

License

This crate is licensed under the MIT license (LICENSE or http://opensource.org/licenses/MIT).

Dependencies

~1–1.3MB
~24K SLoC