All notable changes to this project will be documented in this file.
- Unbreak no_std support by using
core::mem::replacerather than the same fromstd::mem - Make some liftimes explicit to get rid of some compiler warnings
Breaking Changes:
- Change formatting of
DecodingErrorwith contextual info whenDisplayed
Breaking Changes:
- Remove internal
Inspectablepretty printing function from public API - Restore ability to display
DecodingErrorcontext
- Swapped dependency from snafu to thiserror
- Added reflection capability. Big feature! See its section in the readme or docs.
- Lots of documentation improvements
Breaking Change: Value type now has a default MAX_DEPTH and EXPECTED_RECURSION_DEPTH of zero. Manually construct an encoder or decoder for these. See the dynamic depth section in the encoder documentation for more info.
- Finally retired the use of the failure crate
- Various internal cleanups
- Improved documentation of serde support (thanks @casey)
- Fix lifetime on Deserializer implementation for Value (thanks @euclio)
- Many documentation fixes (thanks @casey)
- Bugfix release allowing generic values to be contained within lists or maps
- Added serde support
- Added generic value type that can represent any Bencode value
- Make the
no_stdapi match thestdapi a little bit more closely.
- Add missing
FromBencodeimplementation forBTreeMap. - Introduce
stdas default enabled feature.- Disabling this feature makes bendy
no_stdcompatible. - This currently requires that the target provides allocator support and
also supports
atomic_casas bendy contains a defaultToBencodeimplementation forArc<T: ToBencode>.
- Disabling this feature makes bendy
- Update minimal required rustc version to v1.36 (to use
extern crate allocinside tests and examples).
- Add new
try_into_*utility methods onObject. - Introduce ...
FromBencodetrait for simpler decoding.- a high level encoding
Errortype. - a high level decoding
Errortype. ResultExtdecoding trait to improve error handling.
- Subscribed into edition 2018 and latest rustfmt version.
Breaking Changes
- Remove
Errorfrom the public API. - Move
Tokenfromdecoderintostate_trackersubmodule. - Rename ...
- Changed signatures of all
_or_errmethods onObject. - Replaced all occurrences of
Errorinside the API with the new high level decodingErrorand encodingError.
- Add
AsRef<[u8]>andFrom<&[u8]>forAsStringif the content supports them.
- Add missing trait derives for the
AsStringencoding wrapper.
Initial release