Bump version to 1.0.0 and update CHANGELOG.md

This commit is contained in:
Henry de Valence 2020-08-17 19:43:22 -07:00
parent 122d4bb114
commit 1b01d597ca
4 changed files with 17 additions and 4 deletions

View file

@ -2,6 +2,15 @@
Entries are listed in reverse chronological order.
## 1.0.0
* Widen generic bound on `EphemeralSecret::new` and `StaticSecret::new` to
allow owned as well as borrowed RNGs.
* Add `PublicKey::to_bytes` and `SharedSecret::to_bytes`, returning owned byte
arrays, complementing the existing `as_bytes` methods returning references.
* Remove mention of deprecated `rand_os` crate from examples.
* Clarify `EphemeralSecret`/`StaticSecret` distinction in documentation.
## 0.6.0
* Updates `rand_core` version to `0.5`.

View file

@ -1,8 +1,11 @@
[package]
name = "x25519-dalek"
edition = "2018"
# Be sure to update the version in README.md
version = "0.6.0"
# Before changing this:
# - update version in README.md
# - update html_root_url
# - update CHANGELOG
version = "1.0.0"
authors = [
"Isis Lovecruft <isis@patternsinthevoid.net>",
"DebugSteven <debugsteven@gmail.com>",

View file

@ -101,8 +101,8 @@ and load a long-term secret key.
To install, add the following to your project's `Cargo.toml`:
```toml
[dependencies.x25519-dalek]
version = "0.6"
[dependencies]
x25519-dalek = "1"
```
# Documentation

View file

@ -20,6 +20,7 @@
#![cfg_attr(feature = "nightly", deny(missing_docs))]
#![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/x25519-dalek/1.0.0")]
//! Note that docs will only build on nightly Rust until
//! `feature(external_doc)` is stabilized.