Skip to content

Commit 41ec754

Browse files
committed
chore(deps): use digest newtype
1 parent 731f5d3 commit 41ec754

File tree

2 files changed

+22
-19
lines changed

2 files changed

+22
-19
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ os_rng = ["rand_core/os_rng", "crypto-bigint/rand_core"]
5757
serde = ["dep:serde", "dep:serdect", "crypto-bigint/serde"]
5858
pem = ["pkcs1/pem", "pkcs8/pem"]
5959
pkcs5 = ["pkcs8/encryption"]
60-
std = ["digest/std", "pkcs1/std", "pkcs8/std", "rand_core/std", "crypto-bigint/rand"]
60+
std = ["pkcs1/std", "pkcs8/std", "rand_core/std", "crypto-bigint/rand"]
6161

6262

6363
[package.metadata.docs.rs]
@@ -74,17 +74,26 @@ debug = true
7474
# https://github.com/entropyxyz/crypto-primes/pull/74
7575
crypto-primes = { git = "https://github.com/entropyxyz/crypto-primes.git" }
7676

77-
signature = { git = "https://github.com/RustCrypto/traits.git" }
77+
crypto-common = { git = "https://github.com/RustCrypto/traits.git" }
78+
digest = { git = "https://github.com/RustCrypto/traits.git" }
79+
signature = { git = "https://github.com/RustCrypto/traits.git" }
7880

7981
der = { git = "https://github.com/RustCrypto/formats.git" }
8082
pkcs1 = { git = "https://github.com/RustCrypto/formats.git" }
8183
pkcs5 = { git = "https://github.com/RustCrypto/formats.git" }
8284
pkcs8 = { git = "https://github.com/RustCrypto/formats.git" }
8385

86+
sha1 = { git = "https://github.com/RustCrypto/hashes.git" }
87+
sha2 = { git = "https://github.com/RustCrypto/hashes.git" }
88+
sha3 = { git = "https://github.com/RustCrypto/hashes.git" }
89+
8490
# https://github.com/RustCrypto/password-hashes/pull/577
8591
# https://github.com/RustCrypto/password-hashes/pull/578
86-
pbkdf2 = { git = "https://github.com/baloo/password-hashes.git", branch = "baloo/hmac-0.13.0-pre.5" }
87-
scrypt = { git = "https://github.com/baloo/password-hashes.git", branch = "baloo/hmac-0.13.0-pre.5" }
92+
# https://github.com/RustCrypto/password-hashes/pull/592
93+
pbkdf2 = { git = "https://github.com/baloo/password-hashes.git", branch = "baloo/digest/newtype" }
94+
scrypt = { git = "https://github.com/baloo/password-hashes.git", branch = "baloo/digest/newtype" }
95+
96+
hmac = { git = "https://github.com/baloo/MACs.git", branch = "baloo/digest-pin" }
8897

8998
# https://github.com/RustCrypto/crypto-bigint/pull/824
9099
crypto-bigint = { git = "https://github.com/RustCrypto/crypto-bigint.git" }

0 commit comments

Comments
 (0)