Skip to content

Commit

Permalink
crypto: bump elliptic-curve to v0.13; MSRV 1.65
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri committed Apr 18, 2023
1 parent 6560211 commit 2c33006
Show file tree
Hide file tree
Showing 5 changed files with 300 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/crypto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
rust:
- 1.60.0 # MSRV
- 1.65.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
strategy:
matrix:
rust:
- 1.60.0 # MSRV
- 1.65.0 # MSRV
- stable
steps:
- uses: actions/checkout@v3
Expand All @@ -75,6 +75,6 @@ jobs:
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.60.0
toolchain: 1.65.0
components: clippy
- run: cargo clippy --all --all-features -- -D warnings
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ resolver = "2"
members = [
"aead",
"cipher",
"crypto",
"crypto-common",
"digest",
"kem",
"signature",
"signature/async",
"universal-hash",
]
# re-add when all crates are MSRV 1.60+
exclude = [
"elliptic-curve" # re-add when all crates are MSRV 1.60+
"crypto",
"elliptic-curve"
]
290 changes: 290 additions & 0 deletions crypto/Cargo.lock

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

4 changes: 2 additions & 2 deletions crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ keywords = ["crypto", "encryption", "rustcrypto"]
categories = ["cryptography", "no-std"]
readme = "README.md"
edition = "2021"
rust-version = "1.60"
rust-version = "1.65"

[dependencies]
crypto-common = { version = "0.1", default-features = false }
Expand All @@ -21,7 +21,7 @@ crypto-common = { version = "0.1", default-features = false }
aead = { version = "0.5", optional = true, path = "../aead" }
cipher = { version = "0.4", optional = true }
digest = { version = "0.10", optional = true, features = ["mac"] }
elliptic-curve = { version = "0.12", optional = true } # path = "../elliptic-curve"
elliptic-curve = { version = "0.13", optional = true, path = "../elliptic-curve" }
password-hash = { version = "0.5", optional = true, path = "../password-hash" }
signature = { version = "2", optional = true, default-features = false, path = "../signature" }
universal-hash = { version = "0.5", optional = true, path = "../universal-hash" }
Expand Down
4 changes: 2 additions & 2 deletions crypto/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ access compatible versions of all traits from the Rust Crypto project.

## Minimum Supported Rust Version

Rust **1.60** or higher.
Rust **1.65** or higher.

Minimum supported Rust version can be changed in the future, but it will be
done with a minor version bump.
Expand Down Expand Up @@ -46,7 +46,7 @@ dual licensed as above, without any additional terms or conditions.
[docs-image]: https://docs.rs/crypto/badge.svg
[docs-link]: https://docs.rs/crypto/
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.60+-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.65+-blue.svg
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260050-Traits
[build-image]: https://github.com/RustCrypto/traits/workflows/crypto/badge.svg?branch=master&event=push
Expand Down

0 comments on commit 2c33006

Please sign in to comment.