From 3fc47ef8675c6c14d26b366bbe4b35767cfceffa Mon Sep 17 00:00:00 2001 From: Henry de Valence Date: Fri, 29 May 2020 12:39:39 -0700 Subject: [PATCH] Bump version to 2.1.0 --- CHANGELOG.md | 4 ++++ Cargo.toml | 6 +++++- src/lib.rs | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a46b2ff18..a84de2cf2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ Entries are listed in reverse chronological order. +## 2.1.0 + +* Make `Scalar::from_bits` a `const fn`, allowing its use in `const` contexts. + ## 2.0.0 * Fix a data modeling error in the `serde` feature pointed out by Trevor Perrin diff --git a/Cargo.toml b/Cargo.toml index 7c4e238d2..d73a93284 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,10 @@ [package] name = "curve25519-dalek" -version = "2.0.0" +# Before incrementing: +# - update CHANGELOG +# - update html_root_url +# - update README if required by semver +version = "2.1.0" authors = ["Isis Lovecruft ", "Henry de Valence "] readme = "README.md" diff --git a/src/lib.rs b/src/lib.rs index de3049273..e1409a2d6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -22,6 +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")] //! Note that docs will only build on nightly Rust until //! [RFC 1990 stabilizes](https://github.com/rust-lang/rust/issues/44732).