Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-06-09 | Support deserializing sequences to a hashmap with keys. (#51) | Sam Scott | |
2021-06-09 | fixes #45 - encoding not working correctly on maps (#47) | Kenaniah Cerny | |
2021-03-09 | Add warp support (#46) | Glitch | |
* add tracing, add tests, default to empty string | |||
2020-12-17 | Set MSRV to 1.36 and test. | 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 | Add support for actix 3. | Sam Scott | |
2020-12-06 | Remove extra incorrect replace_spaces in key serialization. | Sam Scott | |
Fixes #38 Thanks to @pooyamb for reporting. | |||
2020-12-06 | Support enum unit variants as map keys (#37) | Pouya Mobasher Behrouz | |
2020-08-27 | Switch 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-23 | Fix deserializing empty sequences (#31) | Markus Ast | |
2020-06-03 | remove unused lint + import | 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> | |||
2020-06-03 | update percent-encoding | Marc-Antoine Perennou | |
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> | |||
2020-06-03 | update lints list | Marc-Antoine Perennou | |
One is deprecated and the other has been renamed Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> | |||
2019-12-10 | Fix panic on malformed query | fermeise | |
resolves #23 | |||
2019-11-12 | Bump version. | Sam Scott | |
Update dependencies. | |||
2019-07-31 | Add deserialization parameters to QsQueryConfig | fermeise | |
This allows switching to non-strict parsing mode resolves #21 | |||
2019-05-15 | update actix support to v1 | daddinuz | |
2019-04-28 | Add comment to explain original byte reuse | Sam Scott | |
Co-Authored-By: agrinman <agrinman@users.noreply.github.com> | |||
2019-02-15 | fix: replace pluses before percent decoding | Alex Grinman | |
2019-01-23 | Add feature for easy use in `actix_web` extractors. | Sam Scott | |
2019-01-23 | Run cargo fmt. | Sam Scott | |
2019-01-23 | Add documentation and workaroud for `#[serde(flatten)]` usage. | Sam Scott | |
2019-01-21 | Merge branch 'master' of github.com:samscott89/serde_qs | Sam Scott | |
2019-01-21 | Minor fixes: | Sam Scott | |
- Suppress deprecated warning from error-chain - Fix clippy issues - Update dependencies - Update example to csv 1.0 | |||
2018-08-04 | Update documentation to clarify strict encoding modes. | Sam Scott | |
2018-07-09 | Let warnings through. | 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) | |||
2017-11-09 | Add generic serialize `to_writer` method. | 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-05 | Update data-encoding major version | Julien Cretin | |
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-09-21 | Bump version to 0.2.2. | Sam Scott | |
2017-09-21 | fix parse_seq_value not decoding '+' to ' ' | Jacob Brown | |
2017-05-28 | Create correct level type when parsing a nested ordered seq. | Sam Scott | |
Fixes #7. | |||
2017-05-23 | Add note in docs about using integer keys. | Sam Scott | |
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 | Address clippy issues. | Sam Scott | |
2017-05-21 | Refactor errors to be of a single type and export it. | Sam Scott | |
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 | Add stricter lints. | Sam Scott | |
2017-05-21 | Docs, API and panics. | Sam Scott | |
Improved documentation, simpified the API coverage, and replaced panics with errors in most cases. | |||
2017-05-21 | Updates to documentation. | Sam Scott | |
2017-05-20 | Organisational changes. | Sam Scott | |