summaryrefslogtreecommitdiff
path: root/src/error.rs
AgeCommit message (Collapse)Author
2022-03-05Add error message hint for strict mode.Sam Scott
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-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-03remove unused lint + importSam Scott
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-09Let rustfmt do its thing.Sam Scott
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-05-23Add detection of indexed sequences.Sam Scott
Clean up the code in places.
2017-05-21Refactor errors to be of a single type and export it.Sam Scott