Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
61 lines (56 loc) · 2.64 KB
/
Copy pathCargo.toml
File metadata and controls
61 lines (56 loc) · 2.64 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
[workspace]
resolver = "3"
members = ["signer/crates/*", "backend", "cli", "bots", "ops", "swap/*", "tools/leak-scan", "tools/recipient"]
[workspace.package]
edition = "2024"
rust-version = "1.88"
license = "MIT"
publish = false
[workspace.dependencies]
# --- Zcash (pre-release wave: the first with NU7 active on testnet at 4465026,
# branch ID 0x77190AD9, without zcash_unstable flags). See docs/ref/FACTS.md.
orchard = { version = "0.16", features = ["unstable-frost"] }
zcash_protocol = "=0.11.0-pre.0"
zcash_primitives = "=0.31.0-pre.1"
zcash_keys = { version = "=0.17.0-pre.1", features = ["orchard", "unstable-frost"] }
zcash_address = "=0.14.0-pre.1"
zcash_client_backend = { version = "=0.25.0-pre.1", default-features = false, features = ["orchard", "lightwalletd-tonic", "lightwalletd-tonic-transport", "lightwalletd-tonic-tls-webpki-roots"] }
pczt = { version = "=0.10.0-pre.1", default-features = false, features = ["std", "orchard", "zcp-builder", "io-finalizer", "prover", "signer", "tx-extractor"] }
zip321 = "=0.10.0-pre.1"
pasta_curves = "0.6"
incrementalmerkletree = { version = "0.9", features = ["legacy-api"] }
zcash_note_encryption = "0.5"
# --- FROST: reddsa 0.6 dropped its `frost` feature (moving to ZcashFoundation/frost,
# not yet released), so FROST(Pallas, BLAKE2b-512) comes from reddsa 0.5.2.
# It uses pasta_curves 0.5; we bridge to orchard 0.16 types through bytes.
reddsa = { version = "0.5.2", features = ["frost", "serde"] }
# --- misc
anyhow = "1"
blake2b_simd = "1"
blake3 = "1"
clap = { version = "4", features = ["derive", "env"] }
hex = "0.4"
rand_core_06 = { package = "rand_core", version = "0.6", features = ["getrandom"] }
rand_010 = { package = "rand", version = "0.10" }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "2"
tokio = { version = "1", features = ["full"] }
alloy = { version = "2.5", features = ["eip712"] }
axum = "0.8"
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tonic = { version = "0.14", default-features = false, features = ["transport", "tls-ring", "tls-webpki-roots"] }
# Halo 2 proving and note trial-decryption are unusably slow without optimization;
# optimize dependencies even in dev builds, keep our own crates quick to compile.
# Dependencies carry no debug info and our crates only line tables (enough for backtraces):
# with full debug info a dev build of this workspace takes over 20 GB of disk.
[profile.dev]
debug = "line-tables-only"
[profile.dev.package."*"]
opt-level = 3
debug = false
[profile.test.package."*"]
opt-level = 3
debug = false