Skip to content

Commit 37946d6

Browse files
authored
Merge pull request #90 from RustCrypto/signature/v1.0.0-pre.5
signature v1.0.0-pre.5
2 parents abec91a + 44175e1 commit 37946d6

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

signature/CHANGES.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## 1.0.0-pre.5 (2020-03-16)
8+
### Changed
9+
- Improve `Debug` impl on `Error` ([#89])
10+
- Rename `Signature::as_slice` -> `as_bytes` ([#87])
11+
12+
[#89]: https://github.com/RustCrypto/traits/pull/89
13+
[#87]: https://github.com/RustCrypto/traits/pull/87
14+
715
## 1.0.0-pre.4 (2020-03-15)
816
### Added
917
- Mark preview features as unstable in `Cargo.toml` ([#82])

signature/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "signature"
33
description = "Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)"
4-
version = "1.0.0-pre.4" # Also update html_root_url in lib.rs when bumping this
4+
version = "1.0.0-pre.5" # Also update html_root_url in lib.rs when bumping this
55
authors = ["RustCrypto Developers"]
66
license = "Apache-2.0 OR MIT"
77
documentation = "https://docs.rs/signature"

signature/src/lib.rs

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,12 @@
122122
//!
123123
//! Despite being post-1.0, this crate includes a number of off-by-default
124124
//! unstable features named `*-preview`, each of which depends on a pre-1.0
125-
//! crate. These features are as follows:
125+
//! crate.
126+
//!
127+
//! These features are considered exempt from SemVer. See the
128+
//! [SemVer policy](#semver-policy) above for more information.
129+
//!
130+
//! The following unstable features are presently supported:
126131
//!
127132
//! - `derive-preview`: for implementers of signature systems using
128133
//! [`DigestSigner`] and [`DigestVerifier`], the `derive-preview` feature
@@ -134,22 +139,24 @@
134139
//! digest signer/verifier type. Enabling this feature also enables `digest`
135140
//! support (see immediately below).
136141
//! - `digest-preview`: enables the [`DigestSigner`] and [`DigestVerifier`]
137-
//! traits which are based on the `Digest` trait from the `digest` crate.
142+
//! traits which are based on the [`Digest`] trait from the [`digest`] crate.
138143
//! These traits are used for representing signature systems based on the
139144
//! [Fiat-Shamir heuristic] which compute a random challenge value to sign
140145
//! by computing a cryptographically secure digest of the input message.
141146
//! - `rand-preview`: enables the [`RandomizedSigner`] trait for signature
142147
//! systems which rely on a cryptographically secure random number generator
143148
//! for security.
144149
//!
150+
//! [`Digest`]: https://docs.rs/digest/latest/digest/trait.Digest.html
151+
//! [`digest`]: https://docs.rs/digest/latest/digest/
145152
//! [Fiat-Shamir heuristic]: https://en.wikipedia.org/wiki/Fiat%E2%80%93Shamir_heuristic
146153
147154
#![no_std]
155+
#![cfg_attr(docsrs, feature(doc_cfg))]
148156
#![doc(
149157
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo_small.png",
150-
html_root_url = "https://docs.rs/signature/1.0.0-pre.3"
158+
html_root_url = "https://docs.rs/signature/1.0.0-pre.5"
151159
)]
152-
#![cfg_attr(docsrs, feature(doc_cfg))]
153160
#![forbid(unsafe_code)]
154161
#![warn(
155162
missing_docs,

0 commit comments

Comments
 (0)