forked from zcash/zcash
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
137 lines (121 loc) · 3.92 KB
/
Copy pathCargo.toml
File metadata and controls
137 lines (121 loc) · 3.92 KB
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
[package]
name = "librustzcash"
description = "Rust FFI used by the zcashd binary. Not an official API."
version = "0.2.0"
authors = [
"Sean Bowe",
"Jay Graber",
"Jack Grigg <jack@electriccoin.co>",
"Daira-Emma Hopwood <daira@jacaranda.org>",
"Yasser <yasser@electriccoin.co>",
"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.12", features = ["std", "all-languages"] }
blake2b_simd = "1,<1.0.4" # 1.0.4 has MSRV 1.85
blake2s_simd = "1,<1.0.4" # 1.0.4 has MSRV 1.85
bls12_381 = "0.8"
bridgetree = "0.7"
byteorder = "1"
crossbeam-channel = "0.5"
getrandom = "0.3,<0.3.4" # 0.3.4 depends on wasip2 which has MSRV 1.82
group = "0.13"
hex = "0.4"
incrementalmerkletree = "0.8"
libc = "0.2"
jubjub = "0.10"
memuse = "0.2"
nonempty = "0.11"
orchard = "0.11"
pasta_curves = "0.5"
sapling = { package = "sapling-crypto", version = "0.5", features = ["temporary-zcashd"] }
secp256k1 = "0.29"
subtle = "2.2"
rand_core = "0.6"
redjubjub = "0.8"
tracing = "0.1"
tracing-core = "0.1"
tracing-appender = "0.2"
transparent = { package = "zcash_transparent", version = "0.6" }
zcash_address = "0.10"
zcash_encoding = "0.3"
zcash_history = "0.4"
zcash_note_encryption = "0.4"
zcash_primitives = { version = "0.26", features = ["temporary-zcashd", "transparent-inputs"] }
zcash_proofs = { version = "0.26", features = ["directories"] }
zcash_protocol = { version = "0.7", features = ["local-consensus"] }
ed25519-zebra = "4,<4.2" # 4.2.0 has MSRV 1.85
zeroize = "1.4.2"
zip32 = "0.2"
wagyu-zcash-parameters = "0.2"
# Rust/C++ interop
# The version needs to match depends/packages/native_cxxbridge.mk
# 1.0.187 has MSRV 1.87
# 1.0.188+ has MSRV 1.82
cxx = { version = "=1.0.186", 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,<0.3.75" # 0.3.75 has MSRV 1.82
clearscreen = "4"
rand = "0.8"
secrecy = "0.8"
thiserror = "2"
time = { version = "0.3,<0.3.45", features = ["formatting", "macros"] } # 0.3.45 has MSRV 1.83
# Macros
macro_find_and_replace = "1"
# MSRV pins for transient dependencies
base64ct = "1,<1.8" # 1.8.0 has MSRV 1.85
home = "0.5,<0.5.12" # 0.5.12 has MSRV 1.88
indexmap = "2,<2.12" # 2.12.0 has MSRV 1.82
tempfile = "3,<3.25" # 3.25.0 permits getrandom 0.4 which has MSRV 1.85
time-core = "0.1,<0.1.7" # 0.1.7 has MSRV 1.83
[build-dependencies]
# MSRV pins for transient dependencies
clap = { version = "4,<4.6", default-features = false } # 4.6.0 has MSRV 1.85
[dev-dependencies]
incrementalmerkletree = { version = "0.8", features = ["test-dependencies"] }
proptest = "1.0.0"
zcash_primitives = { version = "0.26", features = ["temporary-zcashd", "transparent-inputs", "test-dependencies"] }
# MSRV pins for transient dependencies
[target.'cfg(all(target_arch = "wasm32", target_os = "wasi", target_env = "p2"))'.dev-dependencies.wasi]
version = "0.14,<0.14.5" # 0.14.5 has MSRV 1.82
[dependencies.tracing-subscriber]
version = "0.3.20"
default-features = false
features = ["ansi", "env-filter", "fmt", "time"]
[profile.release]
lto = 'thin'
panic = 'abort'
codegen-units = 1