Releases: P3KI/bendy
Releases · P3KI/bendy
v0.2.1
- Add missing [
FromBencode
] implementation for [BTreeMap
]. - Introduce
std
as default enabled feature.- Disabling this feature makes bendy
no_std
compatible. - This currently requires that the target provides allocator support and
also supportsatomic_cas
as 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 ...
FromBencode
trait for simpler decoding.- a high level encoding
Error
type. - a high level decoding
Error
type. ResultExt
decoding trait to improve error handling.
- Subscribed into edition 2018 and latest rustfmt version.
Breaking Changes
- Remove
Error
from the public API. - Move
Token
fromdecoder
intostate_tracker
submodule. - Rename ...
encoder
submodule intoencoding
.decoder
submodule intodecoding
.Encodable
trait intoToBencode
.
- Changed signatures of all
_or_err
methods onObject
. - Replaced all occurrences of
Error
inside the API with the new high level decoding
Error
and encodingError
.