Skip to content

Commit 908c783

Browse files
committed
chore(deps): WIP: use digest newtype
1 parent 1adbad3 commit 908c783

File tree

2 files changed

+22
-13
lines changed

2 files changed

+22
-13
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 6 additions & 2 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,13 +74,17 @@ 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+
digest = { git = "https://github.com/RustCrypto/traits.git", branch = "digest/newtype" }
78+
signature = { git = "https://github.com/RustCrypto/traits.git", branch = "digest/newtype" }
7879

7980
der = { git = "https://github.com/RustCrypto/formats.git" }
8081
pkcs1 = { git = "https://github.com/RustCrypto/formats.git" }
8182
pkcs5 = { git = "https://github.com/RustCrypto/formats.git" }
8283
pkcs8 = { git = "https://github.com/RustCrypto/formats.git" }
8384

85+
sha1 = { git = "https://github.com/RustCrypto/hashes.git", branch = "newtype" }
86+
sha2 = { git = "https://github.com/RustCrypto/hashes.git", branch = "newtype" }
87+
8488
# https://github.com/RustCrypto/password-hashes/pull/577
8589
# https://github.com/RustCrypto/password-hashes/pull/578
8690
pbkdf2 = { git = "https://github.com/baloo/password-hashes.git", branch = "baloo/hmac-0.13.0-pre.5" }

0 commit comments

Comments
 (0)