From 6d96eb7796d706a4f42394e14c87fe7db7a1b289 Mon Sep 17 00:00:00 2001 From: Henry de Valence Date: Mon, 17 Aug 2020 18:20:26 -0700 Subject: [PATCH] Bump version to 3.0.0. --- CHANGELOG.md | 12 ++++++++++++ Cargo.toml | 2 +- README.md | 5 ++++- src/lib.rs | 2 +- 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a84de2c..9e63ebe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/Cargo.toml b/Cargo.toml index d4fa2f0..c65b819 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 ", "Henry de Valence "] readme = "README.md" diff --git a/README.md b/README.md index e3363f5..0f35b5a 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/src/lib.rs b/src/lib.rs index e1409a2..3d68c58 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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).