Age | Commit message (Collapse) | Author |
|
deserializer. (#91)
* Add `Deserializer::new` to crate a new deserializer, and public deserializer.
* Update mod.rs
Co-authored-by: Paul Hansen <mail@paul.rs>
---------
Co-authored-by: Paul Hansen <mail@paul.rs>
|
|
* fix unit type serialization issue
`()` and `A` returned a no key error previously. This is very
unergonimic if you just have a trait bound for Serialize and want to
generate an empty querystring `?`
* add support for deserializing unit structs
* Comment updates for serializer methods
|
|
|
|
|
|
|
|
|
|
|
|
* update dependencies
- actix-web v2
- percent encoding v2.1
- rust 2018 edition
- remove rustfmt no longer supported rules
* ci: add feature build matrix
* fix actix unit tests
Co-authored-by: Mario Reder <mreder1289@gmail.com>
|
|
|
|
- Suppress deprecated warning from error-chain
- Fix clippy issues
- Update dependencies
- Update example to csv 1.0
|
|
|
|
Permits encoded brackets, and will generally tolerate parsing
errors where possible.
Permitting, for example, `a%5B[0%5D=1` to decode as `a: vec![1]`.
Default behaviour is strict.
|
|
|
|
- Only perform the percent decoding at the final step (fixes #10).
- Reduce allocations by borrowing as much as possible.
|
|
|
|
Clean up the code in places.
|
|
This reverts commit 6429b975c6cbcf5d7e0c2b1d02026f8d46b5c50f.
|
|
|
|
|
|
When deserializing types such as TupleStructs, if the `Level`
value is a map, let's call `visit_map` instead of coercing it
to a sequence immediately.
|
|
|
|
Improved documentation, simpified the API coverage, and replaced
panics with errors in most cases.
|
|
|
|
|