Skip to content

Commit

Permalink
ecdsa: 2021 edition upgrade
Browse files Browse the repository at this point in the history
The `elliptic-curve` crate as well as format parsers including `der`,
`sec1`, and `pkcs8` have all been bumped to the 2021 edition:

RustCrypto/traits#795

This commit updates the `ecdsa` crate to the 2021 edition accordingly.
  • Loading branch information
tarcieri committed Oct 21, 2021
1 parent 23947da commit a251019
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 58 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ecdsa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
rust:
- 1.55.0 # MSRV
- 1.56.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
strategy:
matrix:
rust:
- 1.55.0 # MSRV
- 1.56.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ed25519.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
toolchain:
- 1.55.0 # MSRV
- 1.56.0 # MSRV
- stable
steps:
- uses: actions/checkout@v2
Expand All @@ -46,7 +46,7 @@ jobs:
- macos-latest
- windows-latest
toolchain:
- 1.55.0 # MSRV
- 1.56.0 # MSRV
- stable
runs-on: ${{ matrix.platform }}
steps:
Expand Down
21 changes: 1 addition & 20 deletions .github/workflows/workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,27 +34,8 @@ jobs:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.55.0
toolchain: 1.56.0
components: clippy
override: true
profile: minimal
- run: cargo clippy --all-features -- -D warnings

codecov:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- uses: actions-rs/tarpaulin@v0.1
with:
version: latest
args: --all --all-features -- --test-threads 1
- uses: codecov/codecov-action@v1
- uses: actions/upload-artifact@v1
with:
name: code-coverage-report
path: cobertura.xml
44 changes: 22 additions & 22 deletions Cargo.lock

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

13 changes: 7 additions & 6 deletions ecdsa/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
[package]
name = "ecdsa"
version = "0.13.0-pre" # Also update html_root_url in lib.rs when bumping this
description = """
description = """
Signature and elliptic curve types providing interoperable support for the
Elliptic Curve Digital Signature Algorithm (ECDSA)
"""
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/RustCrypto/signatures"
edition = "2018"
readme = "README.md"
readme = "README.md"
categories = ["cryptography", "no-std"]
keywords = ["crypto", "ecc", "nist", "secp256k1", "signature"]
keywords = ["crypto", "ecc", "nist", "secp256k1", "signature"]
edition = "2021"
rust-version = "1.56"

[dependencies]
elliptic-curve = { version = "=0.11.0-pre", default-features = false, features = ["sec1"] }
Expand Down
4 changes: 2 additions & 2 deletions ecdsa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ways:

## Minimum Supported Rust Version

This crate requires **Rust 1.55** at a minimum.
This crate requires **Rust 1.56** at a minimum.

We may change the MSRV in the future, but it will be accompanied by a minor
version bump.
Expand All @@ -54,7 +54,7 @@ dual licensed as above, without any additional terms or conditions.
[docs-image]: https://docs.rs/ecdsa/badge.svg
[docs-link]: https://docs.rs/ecdsa/
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.55+-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.56+-blue.svg
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260048-signatures
[build-image]: https://github.com/RustCrypto/signatures/workflows/ecdsa/badge.svg?branch=master&event=push
Expand Down
2 changes: 1 addition & 1 deletion ecdsa/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
//!
//! ## Minimum Supported Rust Version
//!
//! Rust **1.55** or higher.
//! Rust **1.56** or higher.
//!
//! Minimum supported Rust version may be changed in the future, but it will be
//! accompanied with a minor version bump.
Expand Down
4 changes: 2 additions & 2 deletions ed25519/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Ed25519 implementations, including HSMs or Cloud KMS services.

## Minimum Supported Rust Version

This crate requires **Rust 1.55** at a minimum.
This crate requires **Rust 1.56** at a minimum.

We may change the MSRV in the future, but it will be accompanied by a minor
version bump.
Expand All @@ -51,7 +51,7 @@ dual licensed as above, without any additional terms or conditions.
[docs-image]: https://docs.rs/ed25519/badge.svg
[docs-link]: https://docs.rs/ed25519/
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.55+-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.56+-blue.svg
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260048-signatures
[build-image]: https://github.com/RustCrypto/signatures/workflows/ed25519/badge.svg?branch=master&event=push
Expand Down
2 changes: 1 addition & 1 deletion ed25519/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
//!
//! ## Minimum Supported Rust Version
//!
//! Rust **1.55** or higher.
//! Rust **1.56** or higher.
//!
//! Minimum supported Rust version may be changed in the future, but such
//! changes will be accompanied with a minor version bump.
Expand Down

0 comments on commit a251019

Please sign in to comment.