Skip to content

signature v1.1.0 #187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/signature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,4 @@ jobs:
- run: cargo check --all-features
- run: cargo test --no-default-features --release
- run: cargo test --release
# TODO: fix support for the `digest-preview` feature
# - run: cargo test --all-features --release
- run: cargo test --all-features --release
26 changes: 13 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions signature/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 1.1.0 (2020-06-09)
### Changed
- Upgrade `digest` to v0.9; MSRV 1.41+ ([#186])

[#186]: https://github.com/RustCrypto/traits/pull/186

## 1.0.1 (2020-04-19)
### Changed
- Upgrade `signature_derive` to v1.0.0-pre.2 ([#98])
Expand Down
5 changes: 2 additions & 3 deletions signature/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "signature"
description = "Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)"
version = "1.1.0-pre" # Also update html_root_url in lib.rs when bumping this
version = "1.1.0" # Also update html_root_url in lib.rs when bumping this
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
documentation = "https://docs.rs/signature"
Expand All @@ -15,7 +15,6 @@ categories = ["cryptography", "no-std"]
version = "0.9"
optional = true
default-features = false
path = "../digest"

[dependencies.rand_core]
version = "0.5"
Expand All @@ -29,7 +28,7 @@ path = "derive"

[dev-dependencies]
hex-literal = "0.2"
sha2 = { version = "0.8", default-features = false }
sha2 = { version = "0.9", default-features = false }

[features]
default = ["std"]
Expand Down
2 changes: 1 addition & 1 deletion signature/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
#![cfg_attr(docsrs, feature(doc_cfg))]
#![doc(
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/ferris_signer.png",
html_root_url = "https://docs.rs/signature/1.1.0-pre"
html_root_url = "https://docs.rs/signature/1.1.0"
)]
#![forbid(unsafe_code)]
#![warn(
Expand Down
2 changes: 1 addition & 1 deletion signature/tests/signature_derive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ mod tests {
impl DigestVerifier<Sha256, DummySignature> for DummyVerifier {
fn verify_digest(&self, digest: Sha256, signature: &DummySignature) -> Result<(), Error> {
let actual_digest = digest.finalize();
assert_eq!(signature.as_ref(), actual_digest.as_ref());
assert_eq!(signature.as_ref(), actual_digest.as_slice());
Ok(())
}
}
Expand Down