Remove unused dependencies

Some were only used by tests, others weren't used at all.
This commit is contained in:
Jack Grigg 2022-11-01 06:52:10 +00:00
parent 0da4d27824
commit a0016588ac
4 changed files with 8 additions and 13 deletions

View File

@ -24,21 +24,15 @@ bs58 = { version = "0.4", features = ["check"] }
byteorder = { version = "1", optional = true }
crossbeam-channel = "0.5"
group = "0.12"
hex = "0.4"
hdwallet = { version = "0.3.1", optional = true }
jubjub = "0.9"
memuse = "0.2"
nom = "7"
orchard = "0.3"
percent-encoding = "2.1.0"
proptest = { version = "1.0.0", optional = true }
protobuf = "~2.27.1" # MSRV 1.52.1
rand_core = "0.6"
rayon = "1.5"
ripemd = { version = "0.1", optional = true }
secp256k1 = { version = "0.21", optional = true }
secrecy = "0.8"
sha2 = { version = "0.10.1", optional = true }
subtle = "2.2.3"
time = "0.2"
tracing = "0.1"
@ -52,14 +46,17 @@ protobuf-codegen-pure = "~2.27.1" # MSRV 1.52.1
[dev-dependencies]
gumdrop = "0.8"
hex = "0.4"
jubjub = "0.9"
proptest = "1.0.0"
rand_core = "0.6"
rand_xorshift = "0.3"
tempfile = "3.1.0"
zcash_proofs = { version = "0.8", path = "../zcash_proofs" }
zcash_address = { version = "0.2", path = "../components/zcash_address", features = ["test-dependencies"] }
[features]
transparent-inputs = ["ripemd", "hdwallet", "sha2", "secp256k1", "zcash_primitives/transparent-inputs"]
transparent-inputs = ["hdwallet", "zcash_primitives/transparent-inputs"]
test-dependencies = [
"proptest",
"orchard/test-dependencies",

View File

@ -14,13 +14,11 @@ edition = "2021"
rust-version = "1.56.1"
[dependencies]
bech32 = "0.8"
bs58 = { version = "0.4", features = ["check"] }
group = "0.12"
hdwallet = { version = "0.3.1", optional = true }
jubjub = "0.9"
protobuf = "~2.27.1" # MSRV 1.52.1
rand_core = "0.6"
rusqlite = { version = "0.25", features = ["bundled", "time"] }
schemer = "0.2"
schemer-rusqlite = "0.2"
@ -32,6 +30,7 @@ zcash_primitives = { version = "0.8", path = "../zcash_primitives" }
[dev-dependencies]
proptest = "1.0.0"
rand_core = "0.6"
regex = "1.4"
tempfile = "3"
zcash_proofs = { version = "0.8", path = "../zcash_proofs" }

View File

@ -24,9 +24,7 @@ bip0039 = { version = "0.9", features = ["std", "all-languages"] }
blake2b_simd = "1"
blake2s_simd = "1"
bls12_381 = "0.7"
bs58 = { version = "0.4", features = ["check"], optional = true }
byteorder = "1"
chacha20poly1305 = "0.10"
equihash = { version = "0.2", path = "../components/equihash" }
ff = "0.12"
fpe = "0.5"
@ -55,6 +53,7 @@ path = "../components/zcash_note_encryption"
features = ["pre-zip-212"]
[dev-dependencies]
chacha20poly1305 = "0.10"
criterion = "0.3"
proptest = "1.0.0"
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
[features]
transparent-inputs = ["bs58", "hdwallet", "ripemd", "secp256k1"]
transparent-inputs = ["hdwallet", "ripemd", "secp256k1"]
test-dependencies = ["proptest", "orchard/test-dependencies"]
zfuture = []

View File

@ -20,7 +20,6 @@ all-features = true
bellman = { version = "0.13.1", default-features = false, features = ["groth16"] }
blake2b_simd = "1"
bls12_381 = "0.7"
byteorder = "1"
directories = { version = "4", optional = true }
group = "0.12"
jubjub = "0.9"
@ -33,6 +32,7 @@ wagyu-zcash-parameters = { version = "0.2", optional = true }
zcash_primitives = { version = "0.8", path = "../zcash_primitives" }
[dev-dependencies]
byteorder = "1"
criterion = "0.3"
rand_xorshift = "0.3"