Skip to content

Commit 6b3b091

Browse files
committed
Use crypto-bigint 0.7.0-pre; Bump MSRV to 1.85 (edition2024)
1 parent 616ca0a commit 6b3b091

29 files changed

+234
-194
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
rust:
19-
- 1.83.0 # MSRV
19+
- 1.85.0 # MSRV
2020
- stable
2121
target:
2222
- thumbv7em-none-eabi
@@ -35,7 +35,7 @@ jobs:
3535
strategy:
3636
matrix:
3737
rust:
38-
- 1.83.0 # MSRV
38+
- 1.85.0 # MSRV
3939
- stable
4040
steps:
4141
- uses: actions/checkout@v4
@@ -71,5 +71,5 @@ jobs:
7171
- uses: RustCrypto/actions/cargo-cache@master
7272
- uses: dtolnay/rust-toolchain@master
7373
with:
74-
toolchain: nightly-2024-10-06
74+
toolchain: nightly-2025-02-22
7575
- run: cargo build --benches

.github/workflows/workspace.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: RustCrypto/actions/cargo-cache@master
1818
- uses: dtolnay/rust-toolchain@master
1919
with:
20-
toolchain: 1.83.0
20+
toolchain: 1.85.0
2121
components: clippy
2222
- run: cargo clippy --all -- -D warnings
2323

@@ -40,7 +40,7 @@ jobs:
4040
- uses: dtolnay/rust-toolchain@master
4141
with:
4242
# We need Nightly for doc_auto_cfg
43-
toolchain: nightly-2024-11-30
43+
toolchain: nightly-2025-02-22
4444
- uses: Swatinem/rust-cache@v2
4545
- env:
4646
RUSTDOCFLAGS: "-Dwarnings --cfg docsrs"

Cargo.lock

Lines changed: 46 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,28 @@
22
name = "rsa"
33
version = "0.10.0-pre.4"
44
authors = ["RustCrypto Developers", "dignifiedquire <[email protected]>"]
5-
edition = "2021"
5+
edition = "2024"
66
description = "Pure Rust RSA implementation"
77
license = "MIT OR Apache-2.0"
88
documentation = "https://docs.rs/rsa"
99
repository = "https://github.com/RustCrypto/RSA"
1010
keywords = ["rsa", "encryption", "security", "crypto"]
1111
categories = ["cryptography"]
1212
readme = "README.md"
13-
rust-version = "1.83"
13+
rust-version = "1.85"
1414

1515
[dependencies]
16-
rand_core = { version = "0.9.0", default-features = false }
17-
const-oid = { version = "0.10.0-rc.3", default-features = false }
16+
rand_core = { version = "0.9.2", default-features = false }
17+
const-oid = { version = "0.10", default-features = false }
1818
subtle = { version = "2.6.1", default-features = false }
19-
digest = { version = "=0.11.0-pre.9", default-features = false, features = ["alloc", "oid"] }
19+
digest = { version = "=0.11.0-pre.10", default-features = false, features = ["alloc", "oid"] }
2020
pkcs1 = { version = "0.8.0-rc.1", default-features = false, features = ["alloc", "pkcs8"] }
21-
pkcs8 = { version = "0.11.0-rc.1", default-features = false, features = ["alloc"] }
21+
pkcs8 = { version = "0.11.0-rc.2", default-features = false, features = ["alloc"] }
2222
signature = { version = "=2.3.0-pre.6", default-features = false, features = ["alloc", "digest", "rand_core"] }
2323
spki = { version = "0.8.0-rc.1", default-features = false, features = ["alloc"] }
2424
zeroize = { version = "1.5", features = ["alloc"] }
25-
crypto-bigint = { version = "0.7.0-pre", default-features = false, features = ["zeroize", "alloc"] }
26-
crypto-primes = { version = "0.6.0", default-features = false }
25+
crypto-bigint = { version = "0.7.0-pre.0", default-features = false, features = ["zeroize", "alloc"] }
26+
crypto-primes = { version = "0.7.0-pre.0", default-features = false }
2727

2828
# optional dependencies
2929
sha1 = { version = "=0.11.0-pre.4", optional = true, default-features = false, features = ["oid"] }
@@ -40,7 +40,7 @@ serde_test = "1.0.89"
4040
rand_xorshift = "0.4"
4141
rand_chacha = "0.9"
4242
rand = "0.9"
43-
rand_core = { version = "0.9.1", default-features = false }
43+
rand_core = { version = "0.9.2", default-features = false }
4444
sha1 = { version = "=0.11.0-pre.4", default-features = false, features = ["oid"] }
4545
sha2 = { version = "=0.11.0-pre.4", default-features = false, features = ["oid"] }
4646
sha3 = { version = "=0.11.0-pre.4", default-features = false, features = ["oid"] }
@@ -72,9 +72,22 @@ opt-level = 2
7272
debug = true
7373

7474
[patch.crates-io]
75-
# https://github.com/RustCrypto/crypto-bigint/pull/762
76-
# https://github.com/RustCrypto/crypto-bigint/pull/765
75+
# https://github.com/RustCrypto/crypto-bigint/pull/770
7776
crypto-bigint = { git = "https://github.com/RustCrypto/crypto-bigint.git" }
7877

79-
# https://github.com/entropyxyz/crypto-primes/pull/74
80-
crypto-primes = { git = "https://github.com/entropyxyz/crypto-primes.git" }
78+
# https://github.com/RustCrypto/traits/pull/1765
79+
# https://github.com/RustCrypto/traits/pull/1766
80+
signature = { git = "https://github.com/RustCrypto/traits.git" }
81+
82+
sha1 = { git = "https://github.com/RustCrypto/hashes.git" }
83+
sha2 = { git = "https://github.com/RustCrypto/hashes.git" }
84+
sha3 = { git = "https://github.com/RustCrypto/hashes.git" }
85+
86+
der = { git = "https://github.com/RustCrypto/formats.git" }
87+
pkcs1 = { git = "https://github.com/RustCrypto/formats.git" }
88+
pkcs5 = { git = "https://github.com/RustCrypto/formats.git" }
89+
pkcs8 = { git = "https://github.com/RustCrypto/formats.git" }
90+
91+
pbkdf2 = { git = "https://github.com/baloo/password-hashes.git", branch = "baloo/edition-2024" }
92+
93+
hmac = { git = "https://github.com/RustCrypto/MACs.git" }

0 commit comments

Comments
 (0)