Remove unused dependencies
Some were only used by tests, others weren't used at all.
This commit is contained in:
parent
0da4d27824
commit
a0016588ac
|
@ -24,21 +24,15 @@ bs58 = { version = "0.4", features = ["check"] }
|
||||||
byteorder = { version = "1", optional = true }
|
byteorder = { version = "1", optional = true }
|
||||||
crossbeam-channel = "0.5"
|
crossbeam-channel = "0.5"
|
||||||
group = "0.12"
|
group = "0.12"
|
||||||
hex = "0.4"
|
|
||||||
hdwallet = { version = "0.3.1", optional = true }
|
hdwallet = { version = "0.3.1", optional = true }
|
||||||
jubjub = "0.9"
|
|
||||||
memuse = "0.2"
|
memuse = "0.2"
|
||||||
nom = "7"
|
nom = "7"
|
||||||
orchard = "0.3"
|
orchard = "0.3"
|
||||||
percent-encoding = "2.1.0"
|
percent-encoding = "2.1.0"
|
||||||
proptest = { version = "1.0.0", optional = true }
|
proptest = { version = "1.0.0", optional = true }
|
||||||
protobuf = "~2.27.1" # MSRV 1.52.1
|
protobuf = "~2.27.1" # MSRV 1.52.1
|
||||||
rand_core = "0.6"
|
|
||||||
rayon = "1.5"
|
rayon = "1.5"
|
||||||
ripemd = { version = "0.1", optional = true }
|
|
||||||
secp256k1 = { version = "0.21", optional = true }
|
|
||||||
secrecy = "0.8"
|
secrecy = "0.8"
|
||||||
sha2 = { version = "0.10.1", optional = true }
|
|
||||||
subtle = "2.2.3"
|
subtle = "2.2.3"
|
||||||
time = "0.2"
|
time = "0.2"
|
||||||
tracing = "0.1"
|
tracing = "0.1"
|
||||||
|
@ -52,14 +46,17 @@ protobuf-codegen-pure = "~2.27.1" # MSRV 1.52.1
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
gumdrop = "0.8"
|
gumdrop = "0.8"
|
||||||
|
hex = "0.4"
|
||||||
|
jubjub = "0.9"
|
||||||
proptest = "1.0.0"
|
proptest = "1.0.0"
|
||||||
|
rand_core = "0.6"
|
||||||
rand_xorshift = "0.3"
|
rand_xorshift = "0.3"
|
||||||
tempfile = "3.1.0"
|
tempfile = "3.1.0"
|
||||||
zcash_proofs = { version = "0.8", path = "../zcash_proofs" }
|
zcash_proofs = { version = "0.8", path = "../zcash_proofs" }
|
||||||
zcash_address = { version = "0.2", path = "../components/zcash_address", features = ["test-dependencies"] }
|
zcash_address = { version = "0.2", path = "../components/zcash_address", features = ["test-dependencies"] }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
transparent-inputs = ["ripemd", "hdwallet", "sha2", "secp256k1", "zcash_primitives/transparent-inputs"]
|
transparent-inputs = ["hdwallet", "zcash_primitives/transparent-inputs"]
|
||||||
test-dependencies = [
|
test-dependencies = [
|
||||||
"proptest",
|
"proptest",
|
||||||
"orchard/test-dependencies",
|
"orchard/test-dependencies",
|
||||||
|
|
|
@ -14,13 +14,11 @@ edition = "2021"
|
||||||
rust-version = "1.56.1"
|
rust-version = "1.56.1"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bech32 = "0.8"
|
|
||||||
bs58 = { version = "0.4", features = ["check"] }
|
bs58 = { version = "0.4", features = ["check"] }
|
||||||
group = "0.12"
|
group = "0.12"
|
||||||
hdwallet = { version = "0.3.1", optional = true }
|
hdwallet = { version = "0.3.1", optional = true }
|
||||||
jubjub = "0.9"
|
jubjub = "0.9"
|
||||||
protobuf = "~2.27.1" # MSRV 1.52.1
|
protobuf = "~2.27.1" # MSRV 1.52.1
|
||||||
rand_core = "0.6"
|
|
||||||
rusqlite = { version = "0.25", features = ["bundled", "time"] }
|
rusqlite = { version = "0.25", features = ["bundled", "time"] }
|
||||||
schemer = "0.2"
|
schemer = "0.2"
|
||||||
schemer-rusqlite = "0.2"
|
schemer-rusqlite = "0.2"
|
||||||
|
@ -32,6 +30,7 @@ zcash_primitives = { version = "0.8", path = "../zcash_primitives" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
proptest = "1.0.0"
|
proptest = "1.0.0"
|
||||||
|
rand_core = "0.6"
|
||||||
regex = "1.4"
|
regex = "1.4"
|
||||||
tempfile = "3"
|
tempfile = "3"
|
||||||
zcash_proofs = { version = "0.8", path = "../zcash_proofs" }
|
zcash_proofs = { version = "0.8", path = "../zcash_proofs" }
|
||||||
|
|
|
@ -24,9 +24,7 @@ bip0039 = { version = "0.9", features = ["std", "all-languages"] }
|
||||||
blake2b_simd = "1"
|
blake2b_simd = "1"
|
||||||
blake2s_simd = "1"
|
blake2s_simd = "1"
|
||||||
bls12_381 = "0.7"
|
bls12_381 = "0.7"
|
||||||
bs58 = { version = "0.4", features = ["check"], optional = true }
|
|
||||||
byteorder = "1"
|
byteorder = "1"
|
||||||
chacha20poly1305 = "0.10"
|
|
||||||
equihash = { version = "0.2", path = "../components/equihash" }
|
equihash = { version = "0.2", path = "../components/equihash" }
|
||||||
ff = "0.12"
|
ff = "0.12"
|
||||||
fpe = "0.5"
|
fpe = "0.5"
|
||||||
|
@ -55,6 +53,7 @@ path = "../components/zcash_note_encryption"
|
||||||
features = ["pre-zip-212"]
|
features = ["pre-zip-212"]
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
chacha20poly1305 = "0.10"
|
||||||
criterion = "0.3"
|
criterion = "0.3"
|
||||||
proptest = "1.0.0"
|
proptest = "1.0.0"
|
||||||
rand_xorshift = "0.3"
|
rand_xorshift = "0.3"
|
||||||
|
@ -64,7 +63,7 @@ orchard = { version = "0.3", features = ["test-dependencies"] }
|
||||||
pprof = { version = "0.9", features = ["criterion", "flamegraph"] } # MSRV 1.56
|
pprof = { version = "0.9", features = ["criterion", "flamegraph"] } # MSRV 1.56
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
transparent-inputs = ["bs58", "hdwallet", "ripemd", "secp256k1"]
|
transparent-inputs = ["hdwallet", "ripemd", "secp256k1"]
|
||||||
test-dependencies = ["proptest", "orchard/test-dependencies"]
|
test-dependencies = ["proptest", "orchard/test-dependencies"]
|
||||||
zfuture = []
|
zfuture = []
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,6 @@ all-features = true
|
||||||
bellman = { version = "0.13.1", default-features = false, features = ["groth16"] }
|
bellman = { version = "0.13.1", default-features = false, features = ["groth16"] }
|
||||||
blake2b_simd = "1"
|
blake2b_simd = "1"
|
||||||
bls12_381 = "0.7"
|
bls12_381 = "0.7"
|
||||||
byteorder = "1"
|
|
||||||
directories = { version = "4", optional = true }
|
directories = { version = "4", optional = true }
|
||||||
group = "0.12"
|
group = "0.12"
|
||||||
jubjub = "0.9"
|
jubjub = "0.9"
|
||||||
|
@ -33,6 +32,7 @@ wagyu-zcash-parameters = { version = "0.2", optional = true }
|
||||||
zcash_primitives = { version = "0.8", path = "../zcash_primitives" }
|
zcash_primitives = { version = "0.8", path = "../zcash_primitives" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
byteorder = "1"
|
||||||
criterion = "0.3"
|
criterion = "0.3"
|
||||||
rand_xorshift = "0.3"
|
rand_xorshift = "0.3"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue