Releases: P3KI/bendy
Releases · P3KI/bendy
v0.2.1
- Add missing [
FromBencode] implementation for [BTreeMap]. - Introduce
stdas default enabled feature.- Disabling this feature makes bendy
no_stdcompatible. - This currently requires that the target provides allocator support and
also supportsatomic_casas bendy contains a default [ToBencode]
implementation forArc<T: ToBencode>.
- Disabling this feature makes bendy
- Update minimal required rustc version to v1.36 (to use
extern crate alloc
inside tests and examples).
v0.2.0
- 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 ...
encodersubmodule intoencoding.decodersubmodule intodecoding.Encodabletrait intoToBencode.
- Changed signatures of all
_or_errmethods onObject. - Replaced all occurrences of
Errorinside the API with the new high level decoding
Errorand encodingError.