summaryrefslogtreecommitdiff
path: root/src/ser.rs
AgeCommit message (Collapse)Author
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
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
2022-07-13Add a standalone serializer.Sam Scott
2022-03-05Add error message hint for strict mode.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
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-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-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>
2019-11-12Bump version.Sam Scott
Update dependencies.
2019-01-23Run cargo fmt.Sam Scott
2019-01-21Minor fixes:Sam Scott
- Suppress deprecated warning from error-chain - Fix clippy issues - Update dependencies - Update example to csv 1.0
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-05Update data-encoding major versionJulien Cretin
2017-05-21Refactor errors to be of a single type and export it.Sam Scott
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-20Rewrite of most components.Sam Scott
Simplify `ser` logic, and expand `de` functionality.