Bump version to 3.0.0.

This commit is contained in:
Henry de Valence 2020-08-17 18:20:26 -07:00
parent c68b30fe13
commit 6d96eb7796
4 changed files with 18 additions and 3 deletions

View file

@ -2,6 +2,12 @@
Entries are listed in reverse chronological order.
## 3.0.0
* Update the `digest` dependency to `0.9`. This requires a major version
because the `digest` traits are part of the public API, but there are
otherwise no changes to the API.
## 2.1.0
* Make `Scalar::from_bits` a `const fn`, allowing its use in `const` contexts.
@ -25,6 +31,12 @@ Entries are listed in reverse chronological order.
The only significant change is the data model change to the `serde` feature;
besides the `rand_core` version bump, there are no other user-visible changes.
## 1.2.4
* Specify a semver bound for `clear_on_drop` rather than an exact version,
addressing an issue where changes to inline assembly in rustc prevented
`clear_on_drop` from working without an update.
## 1.2.3
* Fix an issue identified by a Quarkslab audit (and Jack Grigg), where manually

View file

@ -4,7 +4,7 @@ name = "curve25519-dalek"
# - update CHANGELOG
# - update html_root_url
# - update README if required by semver
version = "2.1.0"
version = "3.0.0"
authors = ["Isis Lovecruft <isis@patternsinthevoid.net>",
"Henry de Valence <hdevalence@hdevalence.ca>"]
readme = "README.md"

View file

@ -45,9 +45,12 @@ make doc-internal
To import `curve25519-dalek`, add the following to the dependencies section of
your project's `Cargo.toml`:
```toml
curve25519-dalek = "2"
curve25519-dalek = "3"
```
The `3.x` series has API almost entirely unchanged from the `2.x` series,
except that the `digest` version was updated.
The `2.x` series has API almost entirely unchanged from the `1.x` series,
except that:

View file

@ -22,7 +22,7 @@
#![cfg_attr(feature = "nightly", doc(include = "../README.md"))]
#![doc(html_logo_url = "https://doc.dalek.rs/assets/dalek-logo-clear.png")]
#![doc(html_root_url = "https://docs.rs/curve25519-dalek/2.1.0")]
#![doc(html_root_url = "https://docs.rs/curve25519-dalek/3.0.0")]
//! Note that docs will only build on nightly Rust until
//! [RFC 1990 stabilizes](https://github.com/rust-lang/rust/issues/44732).