summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2025-03-04Merge remote-tracking branch 'sbihel/main'HEADpatchedmasterJesse Morgan
2025-03-04Update CI config (#124)Sam Scott
* Fix axum test * Add comments explaining CI strategy * Bump deps and increase MSRV to 1.63 * Pin `csv` to an older version for MSRV * Keep serde_with as 2.0 for MSRV too
2025-03-04update axum to v0.8 (#118)Atrox
* update axum to v0.8 * update rust-version to 1.75 * remove async_trait * Revert msrv change --------- Co-authored-by: Sam Scott <sam.scott89@gmail.com>
2025-03-04clippy::multiple_bound_locations (#103)Cyril Plisko
* clippy::multiple_bound_locations * A few more clippy fixes. --------- Co-authored-by: Sam Scott <sam@osohq.com>
2025-03-04Add axum::OptionalQsQuery (#102)Cyril Plisko
Addresses #101
2024-04-07Fix MSRV (#99)Sam Scott
* Remove `then_some` to stay compatible with earlier versions of Rust * Fix CI builds to build on old versions of Rust * Trying 1.61
2024-04-07Actix: extract querystring from form data (#98)Sam Scott
* 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>
2024-04-07Bump axum version to 0.7 (#96)Kirill Zaborsky
2024-04-07Add `Deserializer::new` to crate a new deserializer, and public ↵Jason Lee
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>
2023-06-12Add support for enums in top levelSimon Bihel
Partially address #71
2023-03-01Improve support unit types (#76)Rudi Floren
* 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
2023-01-07Fix axum examples.Sam Scott
2023-01-07Address some clippy nits.Sam Scott
2023-01-07Update to axum 0.6.0 (#73)David Pedersen
2023-01-07Update flatten workaround for serde_with 2.0.0 (#69)Pierre Hubert
2022-07-30Fix QsQueryConfig example (#67)Stefan Kreutz
QsQuery's FromRequest implementation expects a plain QsQueryConfig extension, i.e., not an Arc.
2022-07-13Add a standalone serializer.Sam Scott
2022-07-10Formatting.Sam Scott
2022-07-09feat: non-strict mode replaces invalid UTF-8 (#62)Jeremiah Senkpiel
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
2022-04-29Add axum support (#59)Denis Kayshev
2022-03-05Add error message hint for strict mode.Sam Scott
2022-03-05Add an `actix` feature to provide a nicer error message (#57)Sam Scott
* Add an `actix` feature to provide a nicer error message for people migrating from <= 0.8 * Fix tests. * Bump version in readme.
2022-03-05Actix 4 (#56)Omid Rad
* Remove all default actix features * Set MSRV * Have `actix4` feature, instead of `actix` * enable actix tests for all features
2021-10-01Update flatten workaround.Sam Scott
2021-10-01Remove all default actix features (#53)Omid Rad
2021-06-09Support deserializing sequences to a hashmap with keys. (#51)Sam Scott
2021-06-09fixes #45 - encoding not working correctly on maps (#47)Kenaniah Cerny
2021-03-09Add warp support (#46)Glitch
* add tracing, add tests, default to empty string
2020-12-17Set MSRV to 1.36 and test.Sam Scott
2020-12-06Serialize bytes as percent-encoded data.Sam Scott
Fixes #40. Thanks to @faulesocke for reporting.
2020-12-06Formatting.Sam Scott
2020-12-06Add support for actix 3.Sam Scott
2020-12-06Remove extra incorrect replace_spaces in key serialization.Sam Scott
Fixes #38 Thanks to @pooyamb for reporting.
2020-12-06Support enum unit variants as map keys (#37)Pouya Mobasher Behrouz
2020-08-27Switch from error-chain to thiserror (#33)Josh Triplett
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.
2020-06-23Fix deserializing empty sequences (#31)Markus Ast
2020-06-03remove unused lint + importSam Scott
2020-06-03Revert to rustfmt defaults.Sam Scott
2020-06-03Support actix-web v2 (#30)Sam Scott
* 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>
2020-06-03update percent-encodingMarc-Antoine Perennou
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2020-06-03update lints listMarc-Antoine Perennou
One is deprecated and the other has been renamed Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2019-12-10Fix panic on malformed queryfermeise
resolves #23
2019-11-12Bump version.Sam Scott
Update dependencies.
2019-07-31Add deserialization parameters to QsQueryConfigfermeise
This allows switching to non-strict parsing mode resolves #21
2019-05-15update actix support to v1daddinuz
2019-04-28Add comment to explain original byte reuseSam Scott
Co-Authored-By: agrinman <agrinman@users.noreply.github.com>
2019-02-15fix: replace pluses before percent decodingAlex Grinman
2019-01-23Add feature for easy use in `actix_web` extractors.Sam Scott
2019-01-23Run cargo fmt.Sam Scott
2019-01-23Add documentation and workaroud for `#[serde(flatten)]` usage.Sam Scott