Age | Commit message (Collapse) | Author |
|
* Deprecate support for actix-web 2.0
* Update actix.rs
Added QsForm to support application/x-www-form-urlencoded Web forms
* Update actix.rs with working adjustments
Added Into_inner function for both QsQuery and QsForm to behave like actix_webs default extractors
Made some fixes
* Added missing code to actix.rs for QsForm
* Update actix.rs
Added new trait "IntoInner"
Fixed QsFormConfig not correctly setting new settings correctly
* Update actix.rs
Removed trait requirement for using into_inner() now functions as a function.
* Update src/actix.rs
* Remove redundant config, add tests
* Add changelog
* Bump serde qs version
* Add Debug bound to docs example
---------
Co-authored-by: nMessage <135612238+nMessage@users.noreply.github.com>
|
|
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>
|
|
|
|
|
|
|
|
This change makes non-strict mode percent-decode utf-8 lossily.
This means that invalid UTF-8 percent encoded sequences, such as `%E9`, are
decoded as the unicode replacement character (� `U+FFFD`).
Refs: https://github.com/samscott89/serde_qs/issues/43
|
|
|
|
* Add an `actix` feature to provide a nicer error message
for people migrating from <= 0.8
* Fix tests.
* Bump version in readme.
|
|
* Remove all default actix features
* Set MSRV
* Have `actix4` feature, instead of `actix`
* enable actix tests for all features
|
|
|
|
* add tracing, add tests, default to empty string
|
|
Fixes #40.
Thanks to @faulesocke for reporting.
|
|
|
|
thiserror provides a simpler interface than error-chain, directly
generating an error enum similar to what could be written by hand. It
also reduces dependencies; error-chain pulls in backtrace which
currently pulls in gimli, which is fairly heavyweight.
This changes the error type's interface, so it'll require a bump to
0.7.0.
|
|
* 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>
|
|
One is deprecated and the other has been renamed
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
|
|
|
|
|
|
|
|
|
|
- Suppress deprecated warning from error-chain
- Fix clippy issues
- Update dependencies
- Update example to csv 1.0
|
|
|
|
|
|
|
|
|
|
Removes the dependency on the `url` crate because we only need
the percent decoding, with our own encoding set.
All keys/values are conservatively percent-encoded, but the square
brackets are untouched. Compatible with strict decoding, and
potentially less error prone.
|
|
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.
|
|
|
|
|
|
|
|
Improved documentation, simpified the API coverage, and replaced
panics with errors in most cases.
|
|
|
|
|
|
Simplify `ser` logic, and expand `de` functionality.
|
|
Add docs for `Config`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|