Skip to content

Commit fad6811

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

File tree

2 files changed

+46
-40
lines changed

2 files changed

+46
-40
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const-oid = { version = "0.10.0", default-features = false }
1818
subtle = { version = "2.6.1", default-features = false }
1919
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.2", default-features = false, features = ["alloc"] }
21+
pkcs8 = { version = "0.11.0-rc.3", default-features = false, features = ["alloc"] }
2222
signature = { version = "=3.0.0-pre", 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"] }
@@ -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,33 @@ 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+
aead = { git = "https://github.com/RustCrypto/traits.git" }
78+
crypto-common = { git = "https://github.com/RustCrypto/traits.git" }
79+
digest = { git = "https://github.com/RustCrypto/traits.git" }
80+
signature = { git = "https://github.com/RustCrypto/traits.git" }
7881

7982
der = { git = "https://github.com/RustCrypto/formats.git" }
8083
pkcs1 = { git = "https://github.com/RustCrypto/formats.git" }
84+
# https://github.com/RustCrypto/formats/pull/1844
8185
pkcs5 = { git = "https://github.com/RustCrypto/formats.git" }
8286
pkcs8 = { git = "https://github.com/RustCrypto/formats.git" }
8387

88+
sha1 = { git = "https://github.com/RustCrypto/hashes.git" }
89+
sha2 = { git = "https://github.com/RustCrypto/hashes.git" }
90+
sha3 = { git = "https://github.com/RustCrypto/hashes.git" }
91+
8492
# https://github.com/RustCrypto/password-hashes/pull/577
8593
# 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" }
94+
# https://github.com/RustCrypto/password-hashes/pull/592
95+
pbkdf2 = { git = "https://github.com/RustCrypto/password-hashes.git" }
96+
scrypt = { git = "https://github.com/RustCrypto/password-hashes.git" }
97+
98+
hmac = { git = "https://github.com/RustCrypto/MACs.git" }
8899

89100
# https://github.com/RustCrypto/crypto-bigint/pull/824
90101
crypto-bigint = { git = "https://github.com/RustCrypto/crypto-bigint.git" }
102+
103+
cbc = { git = "https://github.com/RustCrypto/block-modes.git" }
104+
ctr = { git = "https://github.com/RustCrypto/block-modes.git" }
105+
aes-gcm = { git = "https://github.com/RustCrypto/AEADs.git" }
106+
salsa20 = { git = "https://github.com/RustCrypto/stream-ciphers.git" }

0 commit comments

Comments
 (0)