forked from zcash/zcash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
113 lines (101 loc) · 2.9 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[package]
name = "librustzcash"
description = "Rust FFI used by the zcashd binary. Not an official API."
version = "0.2.0"
authors = [
"Sean Bowe <sean@electriccoin.co>",
"Jay Graber",
"Jack Grigg <jack@electriccoin.co>",
"Daira-Emma Hopwood <daira@jacaranda.org>",
"Ying Tong Lai",
"Simon Liu",
"Kris Nuttycombe <kris@electriccoin.co>",
"Greg Pfeil",
"Larry Ruane <larry@electriccoin.co>",
"Steven Smith",
]
homepage = "https://github.com/zcash/zcash"
repository = "https://github.com/zcash/zcash"
readme = "README.md"
license = "MIT OR Apache-2.0"
edition = "2018"
rust-version = "1.81"
[package.metadata.vet]
store = { path = "./qa/supply-chain" }
[lib]
name = "rustzcash"
path = "src/rust/src/lib.rs"
crate-type = ["staticlib"]
[[bin]]
name = "zcashd-wallet-tool"
path = "src/rust/bin/wallet_tool.rs"
[dependencies]
bellman = "0.14"
bip0039 = { version = "0.10.1", features = ["std", "all-languages"] }
blake2b_simd = "1"
blake2s_simd = "1"
bls12_381 = "0.8"
bridgetree = "0.6"
byteorder = "1"
crossbeam-channel = "0.5"
getrandom = "0.2"
group = "0.13"
hex = "0.4"
incrementalmerkletree = "0.7"
libc = "0.2"
jubjub = "0.10"
memuse = "0.2"
nonempty = "0.7"
orchard = "0.10"
sapling = { package = "sapling-crypto", version = "0.3", features = ["temporary-zcashd"] }
secp256k1 = "0.27"
subtle = "2.2"
rand_core = "0.6"
redjubjub = "0.7"
tracing = "0.1"
tracing-core = "0.1"
tracing-appender = "0.2"
zcash_address = "0.6"
zcash_encoding = "0.2.1"
zcash_history = "0.4"
zcash_note_encryption = "0.4"
zcash_primitives = { version = "0.19", features = ["temporary-zcashd", "transparent-inputs"] }
zcash_proofs = { version = "0.19", features = ["directories"] }
zcash_protocol = { version = "0.4", features = ["local-consensus"] }
ed25519-zebra = "4"
zeroize = "1.4.2"
wagyu-zcash-parameters = "0.2"
# Rust/C++ interop
# The version needs to match depends/packages/native_cxxbridge.mk
cxx = { version = "=1.0.128", features = ["c++17"] }
# Rust threading
rayon = "1.5"
# Metrics
ipnet = "2"
metrics = "0.21"
metrics-exporter-prometheus = "0.12"
metrics-util = { version = "0.15", default-features = false, features = ["layer-filter"] }
tokio = { version = "1", features = ["rt", "net", "time"] }
# General tool dependencies
gumdrop = "0.8"
# Wallet tool
# (also depends on tracing, and tracing-subscriber with "env-filter" and "fmt" features)
anyhow = "1.0"
backtrace = "0.3"
clearscreen = "3"
rand = "0.8"
secrecy = "0.8"
thiserror = "1"
time = { version = "0.3", features = ["formatting", "macros"] }
[dev-dependencies]
incrementalmerkletree = { version = "0.7", features = ["test-dependencies"] }
proptest = "1.0.0"
zcash_primitives = { version = "0.19", features = ["temporary-zcashd", "transparent-inputs", "test-dependencies"] }
[dependencies.tracing-subscriber]
version = "0.3"
default-features = false
features = ["ansi", "env-filter", "fmt", "time"]
[profile.release]
lto = 'thin'
panic = 'abort'
codegen-units = 1