Age | Commit message (Collapse) | Author | |
---|---|---|---|
2025-03-04 | Merge remote-tracking branch 'sbihel/main'HEADpatchedmaster | Jesse Morgan | |
2024-04-07 | Fix 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 | |||
2023-06-12 | Add support for enums in top level | Simon Bihel | |
Partially address #71 | |||
2023-03-02 | Fix clippy, bump version. | Sam Scott | |
2023-03-01 | Improve 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 | |||
2022-07-09 | feat: 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-03-05 | Add error message hint for strict mode. | Sam Scott | |
2021-10-01 | Remove all default actix features (#53) | Omid Rad | |
2021-06-09 | Support deserializing sequences to a hashmap with keys. (#51) | Sam Scott | |
2020-12-06 | Serialize bytes as percent-encoded data. | Sam Scott | |
Fixes #40. Thanks to @faulesocke for reporting. | |||
2020-12-06 | Formatting. | Sam Scott | |
2020-12-06 | Support enum unit variants as map keys (#37) | Pouya Mobasher Behrouz | |
2020-06-23 | Fix deserializing empty sequences (#31) | Markus Ast | |
2020-06-23 | Add unsupported test case | Sam Scott | |
2020-06-03 | Revert to rustfmt defaults. | Sam Scott | |
2020-06-03 | Support 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> | |||
2019-12-10 | Fix panic on malformed query | fermeise | |
resolves #23 | |||
2019-04-28 | Add test for deserializing plus. | Sam Scott | |
2019-01-23 | Run cargo fmt. | Sam Scott | |
2019-01-23 | Add documentation and workaroud for `#[serde(flatten)]` usage. | Sam Scott | |
2018-01-03 | Tweak parsing logic of encoded brackets in non-strict mode. | Sam Scott | |
When parsing a value, always just consume all the text, and ignore special encoded of brackets. (Hence non-strict mode only applies to keys) | |||
2018-01-03 | Change ordering of test_map macro to make more sense. | Sam Scott | |
2017-11-09 | Let rustfmt do its thing. | Sam Scott | |
2017-11-09 | Refactor Serialize logic to produce correct strings. | Sam Scott | |
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. | |||
2017-11-09 | Implement `strict` option feature. | Sam Scott | |
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. | |||
2017-11-01 | Refactor and clean parsing code, improve error messages. | Sam Scott | |
2017-10-31 | New parsing strategy. | Sam Scott | |
- Only perform the percent decoding at the final step (fixes #10). - Reduce allocations by borrowing as much as possible. | |||
2017-05-28 | Create correct level type when parsing a nested ordered seq. | Sam Scott | |
Fixes #7. | |||
2017-05-23 | Add detection of indexed sequences. | Sam Scott | |
Clean up the code in places. | |||
2017-05-22 | Revert "Stop LevelDeserializer from coercing values too early." | Sam Scott | |
This reverts commit 6429b975c6cbcf5d7e0c2b1d02026f8d46b5c50f. | |||
2017-05-21 | Stop LevelDeserializer from coercing values too early. | Sam Scott | |
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. | |||
2017-05-21 | Updates to documentation. | Sam Scott | |
2017-05-20 | Rewrite of most components. | Sam Scott | |
Simplify `ser` logic, and expand `de` functionality. | |||
2017-04-29 | Revert changes to tests to allow integer keys. | Sam Scott | |
2017-04-25 | add a couple failing tests | Jacob Brown | |
2017-04-25 | Implement deserializing primitives properly. | Sam Scott | |
This finishes the work to upgrade to serde 1.0. Thanks to @kardeiz for starting the work in issue #3. This also clairifies how enums work with serde_qs: only with adjacently tagged enums for the time being. | |||
2017-03-20 | Add more tests for de/serializing Options. | Sam Scott | |
2017-03-20 | Add support for optional sequences and structs. | Sam Scott | |
2017-03-12 | Address some clippy comments. | Sam Scott | |
Add docs for `Config`. | |||
2017-03-12 | Run rustfmt on code. | Sam Scott | |
2017-03-12 | Expand out example and a bit of testing. | Sam Scott | |
2017-03-12 | Fix sequences by using temporary Level::Invalid("uninitialised"). | Sam Scott | |
2017-03-10 | Expand tests and examples. | Sam Scott | |
Need to fix sequences. | |||
2017-03-09 | Add sequence deserializing. | Sam Scott | |
2017-03-09 | Refactoring aproach. | Sam Scott | |
2017-02-20 | Refactored to avoid allocating so many strings. | Sam Scott | |
2017-02-19 | Little bit of cleanup. | Sam Scott | |
2017-02-15 | Some _very_ hacky code to get nested url_encoded params working. | Sam Scott | |
2017-02-05 | Introduce de::from_reader | Arthur Skobara | |