-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
114 lines (95 loc) · 3.44 KB
/
Cargo.toml
File metadata and controls
114 lines (95 loc) · 3.44 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
[package]
name = "zap1"
version = "0.1.0"
edition = "2021"
rust-version = "1.85.1"
authors = ["zk_nd3r <zk_nd3r@frontiercompute.io>"]
description = "ZAP1 structured memo protocol for Zcash. Reference implementation."
license = "MIT"
repository = "https://github.com/Frontier-Compute/zap1"
[[bin]]
name = "anchor_root"
path = "src/bin/anchor_root.rs"
[[bin]]
name = "zaino_adapter"
path = "src/bin/zaino_adapter.rs"
[[bin]]
name = "zap1_schema"
path = "src/bin/zap1_schema.rs"
[[bin]]
name = "memo_scan"
path = "src/bin/memo_scan.rs"
[[bin]]
name = "zap1_export"
path = "src/bin/zap1_export.rs"
[[bin]]
name = "keygen"
path = "src/bin/keygen.rs"
[[bin]]
name = "shieldvault"
path = "src/bin/shieldvault.rs"
[dependencies]
# Zcash
zcash_client_backend = { version = "0.21", default-features = false, features = ["orchard"] }
zcash_keys = { version = "0.12", default-features = false, features = ["orchard"] }
zcash_protocol = { version = "0.7", default-features = false }
zcash_primitives = { version = "0.26", default-features = false }
orchard = "0.12"
zip32 = "0.2"
getrandom = "0.2"
# Web
axum = "0.8"
tower-http = { version = "0.6", features = ["cors"] }
tokio = { version = "1", features = ["rt-multi-thread", "time", "sync", "macros", "process", "net"] }
# Database
rusqlite = { version = "0.37", features = ["bundled"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
hex = "0.4"
qrcode = { version = "0.14", default-features = false, features = ["svg"] }
blake2b_simd = "1"
# HTTP client (for Zebra RPC)
reqwest = { version = "0.12", features = ["json"] }
# gRPC client (for Zaino backend)
tonic = "0.12"
prost = "0.13"
async-trait = "0.1"
# Utilities
uuid = { version = "1", features = ["v4"] }
chrono = { version = "0.4", features = ["serde"] }
sha2 = "0.10"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
anyhow = "1"
tokio-stream = "0.1"
# ZAP1 verification SDK (vendored)
zap1-verify = { path = "zap1-verify" }
# Universal memo decoder
zcash-memo-decode = "0.1.0"
rand_core = "0.6.4"
incrementalmerkletree = "0.8.2"
shardtree = "0.6.2"
sapling-crypto = "0.6.2"
zcash_note_encryption = "0.4.1"
zcash_transparent = "0.6.3"
jubjub = "0.10.0"
bls12_381 = "0.8.0"
rand = "0.8"
reddsa = { version = "0.5", features = ["frost"] }
frost-rerandomized = "0.6"
pasta_curves = "0.5"
[dev-dependencies]
tower = "0.5"
[build-dependencies]
tonic-build = "0.12"
[patch.crates-io]
zcash_primitives = { git = "https://github.com/zcash/librustzcash", rev = "1f736379a4099ef1ba3b3bff4035c725e28a018a" }
zcash_address = { git = "https://github.com/zcash/librustzcash", rev = "1f736379a4099ef1ba3b3bff4035c725e28a018a" }
zcash_encoding = { git = "https://github.com/zcash/librustzcash", rev = "1f736379a4099ef1ba3b3bff4035c725e28a018a" }
zcash_history = { git = "https://github.com/zcash/librustzcash", rev = "1f736379a4099ef1ba3b3bff4035c725e28a018a" }
zcash_keys = { git = "https://github.com/zcash/librustzcash", rev = "1f736379a4099ef1ba3b3bff4035c725e28a018a" }
zcash_proofs = { git = "https://github.com/zcash/librustzcash", rev = "1f736379a4099ef1ba3b3bff4035c725e28a018a" }
zcash_transparent = { git = "https://github.com/zcash/librustzcash", rev = "1f736379a4099ef1ba3b3bff4035c725e28a018a" }
zcash_protocol = { git = "https://github.com/zcash/librustzcash", rev = "1f736379a4099ef1ba3b3bff4035c725e28a018a" }
zcash_client_backend = { git = "https://github.com/zcash/librustzcash", rev = "1f736379a4099ef1ba3b3bff4035c725e28a018a" }