summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-01-21Merge branch 'master' of github.com:samscott89/serde_qsSam Scott
2019-01-21Minor fixes:Sam Scott
- Suppress deprecated warning from error-chain - Fix clippy issues - Update dependencies - Update example to csv 1.0
2018-08-04Update documentation to clarify strict encoding modes.Sam Scott
2018-07-09Let warnings through.Sam Scott
2018-01-03Tweak 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-09Add generic serialize `to_writer` method.Sam Scott
2017-11-09Let rustfmt do its thing.Sam Scott
2017-11-09Refactor 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-09Implement `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-05Update data-encoding major versionJulien Cretin
2017-11-01Refactor and clean parsing code, improve error messages.Sam Scott
2017-10-31New 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-21Bump version to 0.2.2.Sam Scott
2017-09-21fix parse_seq_value not decoding '+' to ' 'Jacob Brown
2017-05-28Create correct level type when parsing a nested ordered seq.Sam Scott
Fixes #7.
2017-05-23Add note in docs about using integer keys.Sam Scott
2017-05-23Add detection of indexed sequences.Sam Scott
Clean up the code in places.
2017-05-22Revert "Stop LevelDeserializer from coercing values too early."Sam Scott
This reverts commit 6429b975c6cbcf5d7e0c2b1d02026f8d46b5c50f.
2017-05-21Address clippy issues.Sam Scott
2017-05-21Refactor errors to be of a single type and export it.Sam Scott
2017-05-21Stop 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-21Add stricter lints.Sam Scott
2017-05-21Docs, API and panics.Sam Scott
Improved documentation, simpified the API coverage, and replaced panics with errors in most cases.
2017-05-21Updates to documentation.Sam Scott
2017-05-20Organisational changes.Sam Scott
2017-05-20Rewrite of most components.Sam Scott
Simplify `ser` logic, and expand `de` functionality.
2017-04-25add string wrapperJacob Brown
2017-04-25add a couple failing testsJacob Brown
2017-04-25Fix errors for primitive deserializing.Sam Scott
2017-04-25Implement 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-04-24make compiler recommended changesJacob Brown
2017-03-20Add support for optional sequences and structs.Sam Scott
2017-03-12Address some clippy comments.Sam Scott
Add docs for `Config`.
2017-03-12Add in docs link, clean up examples and querystring consistency.Sam Scott
2017-03-12Tweak to docs.Sam Scott
2017-03-12Run rustfmt on code.Sam Scott
2017-03-12Fix sequences by using temporary Level::Invalid("uninitialised").Sam Scott
2017-03-10Expand tests and examples.Sam Scott
Need to fix sequences.
2017-03-10Cleaning up, modifying docs.Sam Scott
2017-03-09Support serializing sequences.Sam Scott
2017-03-09Add sequence deserializing.Sam Scott
2017-03-09Refactoring aproach.Sam Scott
2017-02-22Add some error handling instead of panicking everywhere.Sam Scott
2017-02-20Refactored to avoid allocating so many strings.Sam Scott
2017-02-19Little bit of cleanup.Sam Scott
2017-02-15Some _very_ hacky code to get nested url_encoded params working.Sam Scott
2017-02-05Inline docs of reexports and bump version to 0.4.2Anthony Ramine
2017-02-05Introduce de::from_readerArthur Skobara
2017-01-31Update serde to 0.9.3 and use serde::ser::ImpossibleAnthony Ramine
2017-01-29Do not forbid bool keys anymoreAnthony Ramine
Floats are supported so...