A binary encoder / decoder implementation in Rust.
virtue
to 0.0.9 and add test for #537 by @trevyn in https://github.com/bincode-org/bincode/pull/591
target/generated/bincode
by @trevyn in https://github.com/bincode-org/bincode/pull/600
Full Changelog: https://github.com/bincode-org/bincode/compare/v2.0.0-rc.2...v2.0.0-rc.3
additional
to the UnexpectedEnd
decode error by @VictorKoenders in https://github.com/bincode-org/bincode/pull/522
std::error::Error::source
by @VictorKoenders in https://github.com/bincode-org/bincode/pull/530
DecodeError
from 48 to 32 bytes on 64-bit arch by @maciejhirsz in https://github.com/bincode-org/bincode/pull/553
Decode
for Box<str>
by @SabrinaJewson in https://github.com/bincode-org/bincode/pull/562
peek_read
take &mut self
by @VictorKoenders in https://github.com/bincode-org/bincode/pull/572
DeserializeSeed
by @MrGVSV in https://github.com/bincode-org/bincode/pull/586
[serde(tag)]
to the list of tags that are known to give issues by @VictorKoenders in https://github.com/bincode-org/bincode/pull/584
Full Changelog: https://github.com/bincode-org/bincode/compare/v2.0.0-rc.1...v2.0.0-rc.2
Full Changelog: https://github.com/bincode-org/bincode/compare/v2.0.0-beta.3...v2.0.0-rc.1
Full Changelog: https://github.com/bincode-org/bincode/compare/v2.0.0-beta.2...v2.0.0-beta.3
Full Changelog: https://github.com/bincode-org/bincode/compare/v2.0.0-beta.1...v2.0.0-beta.2
Full Changelog: https://github.com/bincode-org/bincode/compare/v2.0.0-beta.0...v2.0.0-beta.1
Configuration
functions const
by @Popog in https://github.com/bincode-org/bincode/pull/456
Full Changelog: https://github.com/bincode-org/bincode/compare/V2.0.0-alpha.2...v2.0.0-beta.0
decode_from_slice
functions now also return the number of bytes read #445T: Encode
when implementing #[derive(Encode)]
(same for Decode/DecodeBorrowed)
Bincode now supports size limits again. Size limits can be configured as followed:
let config = Configuration::standard() // or ::legacy()
.with_limit::<10000>();
Full Changelog: https://github.com/bincode-org/bincode/compare/v2.0.0-alpha.1...V2.0.0-alpha.2
Cow<T>
Complete rewrite of bincode. Refer to the documentation on how to use the current version. Migration guides and detailed changes coming later.