shapely-urlencoded
[!IMPORTANT]
There is no stable shapely API as of now (even though it's >1.0.0). The design is very much still being explored.
Expect multiple major versions in the near future — (note left 2025-03-11)
A serialization and deserialization library for URL encoded form data using the shapely runtime reflection system.
Features
- Simple URL encoded form data deserialization for any type implementing the
Shapely
trait - Support for query string parsing
- Detailed error reporting with context
- Support for nested structs and scalar values
Example
use Shapely;
use from_urlencoded;
let query_string = "query=rust+programming&page=2";
let mut partial = partial;
from_urlencoded.expect;
let params = partial.;
assert_eq!;
License
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.