@@ -13,16 +13,16 @@ readme = "README.md"
1313rust-version = " 1.83"
1414
1515[dependencies ]
16- rand_core = { version = " 0.6.4 " , default-features = false }
16+ rand_core = { version = " 0.9.0 " , default-features = false }
1717const-oid = { version = " 0.10.0-rc.3" , default-features = false }
1818subtle = { version = " 2.6.1" , default-features = false }
1919digest = { version = " =0.11.0-pre.9" , default-features = false , features = [" alloc" , " oid" ] }
2020pkcs1 = { version = " 0.8.0-rc.1" , default-features = false , features = [" alloc" , " pkcs8" ] }
2121pkcs8 = { version = " 0.11.0-rc.1" , default-features = false , features = [" alloc" ] }
22- signature = { version = " =2.3.0-pre.4 " , default-features = false , features = [" alloc" , " digest" , " rand_core" ] }
22+ signature = { version = " =2.3.0-pre.5 " , default-features = false , features = [" alloc" , " digest" , " rand_core" ] }
2323spki = { version = " 0.8.0-rc.1" , default-features = false , features = [" alloc" ] }
2424zeroize = { version = " 1.5" , features = [" alloc" ] }
25- crypto-bigint = { version = " 0.6.0 " , default-features = false , features = [" zeroize" , " alloc" ] }
25+ crypto-bigint = { version = " 0.7.0-pre " , default-features = false , features = [" zeroize" , " alloc" ] }
2626crypto-primes = { version = " 0.6.0" , default-features = false }
2727
2828# optional dependencies
@@ -37,10 +37,10 @@ base64ct = { version = "1", features = ["alloc"] }
3737hex-literal = " 0.4.1"
3838proptest = " 1"
3939serde_test = " 1.0.89"
40- rand_xorshift = " 0.3 "
41- rand_chacha = " 0.3 "
42- rand = " 0.8 "
43- rand_core = { version = " 0.6 " , default-features = false }
40+ rand_xorshift = " 0.4 "
41+ rand_chacha = " 0.9 "
42+ rand = " 0.9 "
43+ rand_core = { version = " 0.9.0 " , default-features = false }
4444sha1 = { version = " =0.11.0-pre.4" , default-features = false , features = [" oid" ] }
4545sha2 = { version = " =0.11.0-pre.4" , default-features = false , features = [" oid" ] }
4646sha3 = { version = " =0.11.0-pre.4" , default-features = false , features = [" oid" ] }
@@ -54,7 +54,7 @@ name = "key"
5454[features ]
5555default = [" std" , " pem" ]
5656hazmat = []
57- getrandom = [" rand_core/getrandom " , " crypto-bigint/rand_core" ]
57+ getrandom = [" rand_core/os_rng " , " crypto-bigint/rand_core" ]
5858serde = [" dep:serde" , " dep:serdect" , " crypto-bigint/serde" ]
5959pem = [" pkcs1/pem" , " pkcs8/pem" ]
6060pkcs5 = [" pkcs8/encryption" ]
@@ -70,3 +70,15 @@ opt-level = 2
7070
7171[profile .bench ]
7272debug = true
73+
74+ [patch .crates-io ]
75+ # https://github.com/RustCrypto/crypto-bigint/pull/762
76+ # https://github.com/RustCrypto/crypto-bigint/pull/765
77+ crypto-bigint = { git = " https://github.com/RustCrypto/crypto-bigint.git" }
78+
79+ # https://github.com/entropyxyz/crypto-primes/pull/74
80+ crypto-primes = { git = " https://github.com/baloo/crypto-primes.git" , branch = " baloo/rand_core-0.9" }
81+
82+ # https://github.com/RustCrypto/formats/pull/1658
83+ pkcs5 = { git = " https://github.com/baloo/formats.git" , branch = " baloo/pkcs/rand-core-0.9" }
84+ pkcs8 = { git = " https://github.com/baloo/formats.git" , branch = " baloo/pkcs/rand-core-0.9" }
0 commit comments