cargo update

Since p256 now pulls in an extra crate with this update, the {k,p}256 imports
disable default-features to prevent growing the tree.
This commit is contained in:
Luke Parker 2023-04-15 23:21:18 -04:00
parent b2169a7316
commit 92ad689c7e
No known key found for this signature in database
8 changed files with 17 additions and 18 deletions

17
Cargo.lock generated
View file

@ -1063,7 +1063,7 @@ dependencies = [
"hex",
"k256",
"minimal-ed448",
"p256 0.13.1",
"p256 0.13.2",
"rand_core 0.6.4",
"sha2 0.10.6",
"sha3",
@ -2730,7 +2730,7 @@ dependencies = [
"bls12_381",
"group 0.13.0",
"k256",
"p256 0.13.1",
"p256 0.13.2",
"pasta_curves",
"rand_core 0.6.4",
"subtle",
@ -5631,18 +5631,18 @@ dependencies = [
[[package]]
name = "num_enum"
version = "0.6.0"
version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a0fa9d8a04aa0af7b5845b514a828f829ae3f0ec3f60d9842e1dfaeb49a0e68b"
checksum = "7a015b430d3c108a207fd776d2e2196aaf8b1cf8cf93253e3a097ff3085076a1"
dependencies = [
"num_enum_derive",
]
[[package]]
name = "num_enum_derive"
version = "0.6.0"
version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3e51dcc6bafb7f3ac88b65d2ad21f4b53d878e496712060e23011862ebd2d2d1"
checksum = "96667db765a921f7b295ffee8b60472b686a51d4f21c2ee4ffdb94c7013b65a6"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@ -5795,14 +5795,13 @@ dependencies = [
[[package]]
name = "p256"
version = "0.13.1"
version = "0.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dc7304b8213f8597952b2f4c3d7f09947d46bb677801df8f287ffd2c4e26f9da"
checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b"
dependencies = [
"ecdsa 0.16.6",
"elliptic-curve 0.13.4",
"primeorder",
"sha2 0.10.6",
]
[[package]]

View file

@ -19,7 +19,7 @@ sha2 = "0.10"
secp256k1 = { version = "0.27", features = ["global-context"] }
bitcoin = { version = "0.30", features = ["serde"] }
k256 = { version = "0.13", features = ["arithmetic"] }
k256 = { version = "^0.13.1", default-features = false, features = ["std", "arithmetic", "bits"] }
transcript = { package = "flexible-transcript", path = "../../crypto/transcript", version = "0.3", features = ["recommended"] }
frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.7", features = ["secp256k1"] }

View file

@ -23,7 +23,7 @@ sha2 = "0.10"
sha3 = "0.10"
group = "0.13"
k256 = { version = "0.13", features = ["arithmetic", "ecdsa"] }
k256 = { version = "^0.13.1", default-features = false, features = ["std", "arithmetic", "bits", "ecdsa"] }
frost = { package = "modular-frost", path = "../../crypto/frost", features = ["secp256k1", "tests"] }
eyre = "0.6"

View file

@ -29,8 +29,8 @@ group = "0.13"
dalek-ff-group = { path = "../dalek-ff-group", version = "0.3", optional = true }
elliptic-curve = { version = "0.13", features = ["hash2curve"], optional = true }
p256 = { version = "0.13", features = ["arithmetic", "bits", "hash2curve"], optional = true }
k256 = { version = "0.13", features = ["arithmetic", "bits", "hash2curve"], optional = true }
p256 = { version = "^0.13.1", default-features = false, features = ["std", "arithmetic", "bits", "hash2curve"], optional = true }
k256 = { version = "^0.13.1", default-features = false, features = ["std", "arithmetic", "bits", "hash2curve"], optional = true }
minimal-ed448 = { path = "../ed448", version = "0.3", optional = true }

View file

@ -33,7 +33,7 @@ hex-literal = "0.4"
blake2 = "0.10"
k256 = { version = "0.13", features = ["arithmetic", "bits"] }
k256 = { version = "^0.13.1", default-features = false, features = ["std", "arithmetic", "bits"] }
dalek-ff-group = { path = "../dalek-ff-group" }
transcript = { package = "flexible-transcript", path = "../transcript", features = ["recommended"] }

View file

@ -20,8 +20,8 @@ subtle = "^2.4"
group = "0.13"
[dev-dependencies]
k256 = { version = "^0.13.1", features = ["bits"] }
p256 = { version = "^0.13.1", features = ["bits"] }
k256 = { version = "^0.13.1", default-features = false, features = ["std", "arithmetic", "bits"] }
p256 = { version = "^0.13.1", default-features = false, features = ["std", "arithmetic", "bits"] }
bls12_381 = "0.8"

View file

@ -25,7 +25,7 @@ rand_core = { version = "0.6", optional = true }
[dev-dependencies]
rand_core = "0.6"
k256 = { version = "0.13", features = ["bits"] }
k256 = { version = "^0.13.1", default-features = false, features = ["std", "arithmetic", "bits"] }
dalek-ff-group = { path = "../dalek-ff-group" }
[features]

View file

@ -43,7 +43,7 @@ sp-application-crypto = { git = "https://github.com/serai-dex/substrate", defaul
# Bitcoin
secp256k1 = { version = "0.27", features = ["global-context", "rand-std"], optional = true }
k256 = { version = "0.13", features = ["arithmetic"], optional = true }
k256 = { version = "^0.13.1", optional = true }
bitcoin-serai = { path = "../coins/bitcoin", optional = true }
# Monero