New stuff
- [new spec]
size
has a new format, can now grow up to64
bits of length. - [new spec] Added
uint64
andint64
types. - Performance upgrades.
Breaking changes:
- Due to changes to
size
spec, this version is only interoperable with other 1.0+ implementations. Decoder
now accepts a&[u8]
instead of consuming aVec<u8>
.Encoder::end
now returns aVec<u8>
instead ofResult<Vec<u8>, Error>
.Decoder::bytes
now returns aResult<&[u8], Error>
instead ofResult<Vec<u8>, Error>
.Decoder::string
now returns aResult<&str, Error>
instead ofResult<String, Error>
.
The changes to bytes
/ string
now allow use string / byte slices to compare values without the need to allocate data on the heap.