All notable changes to this project will be documented in this file.
- 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 ...
- Changed signatures of all
_or_err
methods onObject
. - Replaced all occurrences of
Error
inside the API with the new high level decodingError
and encodingError
.
- Add
AsRef<[u8]>
andFrom<&[u8]>
forAsString
if the content supports them.
- Add missing trait derives for the
AsString
encoding wrapper.
Initial release