-
Notifications
You must be signed in to change notification settings - Fork 124
/
Copy pathCargo.toml
101 lines (81 loc) · 3.42 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
[package]
name = "zebra-consensus"
version = "1.0.0-beta.45"
authors = ["Zcash Foundation <[email protected]>"]
description = "Implementation of Zcash consensus checks"
license = "MIT OR Apache-2.0"
repository = "https://github.com/ZcashFoundation/zebra"
edition = "2021"
readme = "../README.md"
homepage = "https://zfnd.org/zebra/"
# crates.io is limited to 5 keywords and categories
keywords = ["zebra", "zcash"]
# Must be one of <https://crates.io/category_slugs>
categories = ["asynchronous", "cryptography::cryptocurrencies"]
[features]
default = []
# Production features that activate extra dependencies, or extra features in dependencies
progress-bar = [
"howudoin",
"zebra-state/progress-bar",
]
# Mining RPC support
getblocktemplate-rpcs = [
"zebra-state/getblocktemplate-rpcs",
"zebra-node-services/getblocktemplate-rpcs",
"zebra-chain/getblocktemplate-rpcs",
]
# Test-only features
proptest-impl = ["proptest", "proptest-derive", "zebra-chain/proptest-impl", "zebra-state/proptest-impl"]
[dependencies]
blake2b_simd = { workspace = true }
bellman = { workspace = true }
bls12_381 = { workspace = true }
halo2 = { package = "halo2_proofs", version = "0.3.0" }
jubjub = { workspace = true }
rand = { workspace = true }
rayon = { workspace = true }
chrono = { workspace = true, features = ["clock", "std"] }
lazy_static = { workspace = true }
once_cell = { workspace = true }
serde = { workspace = true, features = ["serde_derive"] }
futures = { workspace = true }
futures-util = { workspace = true }
metrics = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["time", "sync", "tracing", "rt-multi-thread"] }
tower = { workspace = true, features = ["timeout", "util", "buffer"] }
tracing = { workspace = true }
tracing-futures = { workspace = true }
sapling-crypto.workspace = true
orchard.workspace = true
zcash_proofs = { workspace = true, features = ["multicore" ] }
wagyu-zcash-parameters = { workspace = true }
tower-fallback = { path = "../tower-fallback/", version = "0.2.41-beta.21" }
tower-batch-control = { path = "../tower-batch-control/", version = "0.2.41-beta.21" }
zebra-script = { path = "../zebra-script", version = "1.0.0-beta.45" }
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.45" }
zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.45" }
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.45" }
nonempty.workspace = true
# prod feature progress-bar
howudoin = { workspace = true, optional = true }
# Test-only dependencies
proptest = { workspace = true, optional = true }
proptest-derive = { workspace = true, optional = true }
[dev-dependencies]
color-eyre = { workspace = true }
# This is a transitive dependency via color-eyre.
# Enable a feature that makes tinyvec compile much faster.
tinyvec = { workspace = true, features = ["rustc_1_55"] }
hex = { workspace = true }
num-integer = { workspace = true }
proptest = { workspace = true }
proptest-derive = { workspace = true }
spandoc = { workspace = true }
tokio = { workspace = true, features = ["full", "tracing", "test-util"] }
tracing-error = { workspace = true }
tracing-subscriber = { workspace = true }
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.45", features = ["proptest-impl"] }
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.45", features = ["proptest-impl"] }
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.45" }