gecko-dev/third_party/rust/bincode-0.8.0/changelist.org
Kartikaya Gupta 2e87e8b61d Bug 1407213 - Update Cargo lockfiles and re-vendor rust libraries. r=jrmuizel
MozReview-Commit-ID: Jz76sncivdF

--HG--
rename : third_party/rust/bincode/logo.png => third_party/rust/bincode-0.8.0/logo.png
extra : rebase_source : bc3ba0e5ce54908def30fed2ab78487a1a9b6b93
2017-10-13 12:57:56 -04:00

1.2 KiB

1.0.0

Removed depricated rustc-serialize support

Rustc-serialize was a stopgap until projects like Serde were able to catch up. With macros stabilization on its way, we are able to switch to serde without any big user-friendliness issues. Major congratulations to Serde for coming this far!

Moved Refbox, Strbox and Slicebox into a "refbox" module

Refbox, Strbox and Slicebox are still an integral piece of bincode, but since they are mainly used by power-users, this move will make the crate API more organized and easier for new users to understand.

Upgraded to Serde 0.9.*

Serde 0.9.* gives us a better API surface area and allows use of procedural macros for deriving serialize and deserialize implemenetations.

Moved serde functions into global module

Since serde is the only supported serialization mechanism, it makes sense to have these functions available at the top level.

Added the ability to chose your own endian encoding.

This functionality is located in the endian_choice module.

Changed SizeLimit to be a trait instead of an enum

Mostly for performance reasons.

Removed RefBox / StrBox / SliceBox

Since rustc-serialize support was phased out, you can use `Cow<T>` with serde.