Skip to content

Commit 06696d3

Browse files
committed
Bump sha1, sha2, and sha3 to v0.11
These are the final releases of these hash crates. Release PRs: - `sha1`: RustCrypto/hashes#810 - `sha2`: RustCrypto/hashes#806 - `sha3`: RustCrypto/hashes#816
1 parent 6cb20e9 commit 06696d3

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Cargo.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ crypto-common = { version = "0.2", optional = true, features = ["getrandom"] }
2727
pkcs1 = { version = "0.8.0-rc.4", optional = true, default-features = false, features = ["alloc", "pem"] }
2828
pkcs8 = { version = "0.11.0-rc.10", optional = true, default-features = false, features = ["alloc", "pem"] }
2929
serdect = { version = "0.4", optional = true }
30-
sha1 = { version = "0.11.0-rc.5", optional = true, default-features = false, features = ["oid"] }
31-
sha2 = { version = "0.11.0-rc.5", optional = true, default-features = false, features = ["oid"] }
30+
sha1 = { version = "0.11", optional = true, default-features = false, features = ["oid"] }
31+
sha2 = { version = "0.11", optional = true, default-features = false, features = ["oid"] }
3232
spki = { version = "0.8.0-rc.4", optional = true, default-features = false, features = ["alloc"] }
3333
serde = { version = "1.0.184", optional = true, default-features = false, features = ["derive"] }
3434

@@ -39,9 +39,9 @@ proptest = "1"
3939
serde_test = "1.0.89"
4040
rand = { version = "0.10", features = ["chacha"] }
4141
rand_core = { version = "0.10", default-features = false }
42-
sha1 = { version = "0.11.0-rc.5", default-features = false, features = ["oid"] }
43-
sha2 = { version = "0.11.0-rc.5", default-features = false, features = ["oid"] }
44-
sha3 = { version = "0.11.0-rc.8", default-features = false, features = ["oid"] }
42+
sha1 = { version = "0.11", default-features = false, features = ["oid"] }
43+
sha2 = { version = "0.11", default-features = false, features = ["oid"] }
44+
sha3 = { version = "0.11", default-features = false, features = ["oid"] }
4545
hex = { version = "0.4.3", features = ["serde"] }
4646
serde_json = "1.0.138"
4747
serde = { version = "1.0.184", features = ["derive"] }
@@ -52,12 +52,13 @@ name = "key"
5252

5353
[features]
5454
default = ["std", "encoding"]
55+
std = ["pkcs1?/std", "pkcs8?/std"]
56+
5557
encoding = ["dep:pkcs1", "dep:pkcs8", "dep:spki"]
5658
hazmat = []
5759
getrandom = ["crypto-bigint/getrandom", "crypto-common"]
5860
serde = ["encoding", "dep:serde", "dep:serdect", "crypto-bigint/serde"]
5961
pkcs5 = ["pkcs8/encryption"]
60-
std = ["pkcs1?/std", "pkcs8?/std"]
6162

6263
[package.metadata.docs.rs]
6364
features = ["std", "serde", "hazmat", "sha2"]

0 commit comments

Comments
 (0)