mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-07 20:50:39 +00:00
Merge branch 'master' into develop
This commit is contained in:
commit
1781dd3d05
4 changed files with 17 additions and 4 deletions
|
|
@ -2,6 +2,15 @@
|
||||||
|
|
||||||
Entries are listed in reverse chronological order.
|
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
|
## 0.6.0
|
||||||
|
|
||||||
* Updates `rand_core` version to `0.5`.
|
* Updates `rand_core` version to `0.5`.
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,11 @@
|
||||||
[package]
|
[package]
|
||||||
name = "x25519-dalek"
|
name = "x25519-dalek"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
# Be sure to update the version in README.md
|
# Before changing this:
|
||||||
version = "0.6.0"
|
# - update version in README.md
|
||||||
|
# - update html_root_url
|
||||||
|
# - update CHANGELOG
|
||||||
|
version = "1.0.0"
|
||||||
authors = [
|
authors = [
|
||||||
"Isis Lovecruft <isis@patternsinthevoid.net>",
|
"Isis Lovecruft <isis@patternsinthevoid.net>",
|
||||||
"DebugSteven <debugsteven@gmail.com>",
|
"DebugSteven <debugsteven@gmail.com>",
|
||||||
|
|
|
||||||
|
|
@ -101,8 +101,8 @@ and load a long-term secret key.
|
||||||
To install, add the following to your project's `Cargo.toml`:
|
To install, add the following to your project's `Cargo.toml`:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies.x25519-dalek]
|
[dependencies]
|
||||||
version = "0.6"
|
x25519-dalek = "1"
|
||||||
```
|
```
|
||||||
|
|
||||||
# Documentation
|
# Documentation
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
#![cfg_attr(feature = "nightly", deny(missing_docs))]
|
#![cfg_attr(feature = "nightly", deny(missing_docs))]
|
||||||
#![cfg_attr(feature = "nightly", doc(include = "../README.md"))]
|
#![cfg_attr(feature = "nightly", doc(include = "../README.md"))]
|
||||||
#![doc(html_logo_url = "https://doc.dalek.rs/assets/dalek-logo-clear.png")]
|
#![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
|
//! Note that docs will only build on nightly Rust until
|
||||||
//! `feature(external_doc)` is stabilized.
|
//! `feature(external_doc)` is stabilized.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue