curve25519-dalek v2.0.0 Release Notes
-
- 🛠 Fix a data modeling error in the
serde
feature pointed out by Trevor Perrin which caused points and scalars to be serialized with length fields rather than as fixed-size 32-byte arrays. This is a breaking change, but it fixes compatibility withserde-json
and ensures that theserde-bincode
encoding matches the conventional encoding for X/Ed25519. - ⚡️ Update
rand_core
to0.5
, allowing use with newrand
versions. - Switch from
clear_on_drop
tozeroize
(by Tony Arcieri). - 🚚 Require
subtle = ^2.2.1
and remove the note advising nightly Rust, which is no longer required as of that version ofsubtle
. See thesubtle
changelog for more details. - ⚡️ Update
README.md
for2.x
series. - ✂ Remove the
build.rs
hack which loaded the entire crate into its ownbuild.rs
to generate constants, and keep the constants in the source code.
The only significant change is the data model change to the
serde
feature; besides therand_core
version bump, there are no other user-visible changes. - 🛠 Fix a data modeling error in the