dalek-cryptography / x25519-dalek

X25519 elliptic curve Diffie-Hellman key exchange in pure-Rust, using curve25519-dalek.
BSD 3-Clause "New" or "Revised" License
331 stars 133 forks source link

Deprecated message mentions removal in a minor version #124

Open jplatte opened 1 year ago

jplatte commented 1 year ago

Currently, StaticSecret::new is deprecated with a message saying it will be removed in 2.1.0. Such a change would not be allowed as per semver. (unless 2.1.0 is supposed to be the first proper 2.x release?)

tarcieri commented 1 year ago

It'd probably be good not to remove deprecated methods in a minor version.

They can be removed in the next major release.