-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
87 lines (71 loc) · 1.88 KB
/
Cargo.toml
File metadata and controls
87 lines (71 loc) · 1.88 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
[package]
name = "pczt-native"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib"]
path = "src-rust/lib.rs"
[features]
default = ["prover"]
prover = ["zcash_proofs", "pczt/prover"]
[dependencies]
# PCZT core functionality - using local fork with external signing support
pczt = { path = "vendor/pczt-fork/pczt", features = [
"transparent",
"orchard",
"sapling",
"zcp-builder",
"tx-extractor",
"signer",
"spend-finalizer",
"io-finalizer",
] }
# FFI bindings
napi = { version = "2.13", default-features = false, features = ["napi9"] }
napi-derive = "2.13"
# Zcash primitives - using local fork for version consistency
zcash_primitives = { path = "vendor/pczt-fork/zcash_primitives", features = [
"transparent-inputs",
] }
rand_core = "0.6"
rand = "0.8"
zcash_proofs = { version = "0.23", features = [
"local-prover",
], optional = true }
zcash_transparent = { path = "vendor/pczt-fork/zcash_transparent", features = [
"transparent-inputs",
] }
zcash_protocol = { path = "vendor/pczt-fork/components/zcash_protocol" }
zcash_script = "0.5"
zcash_address = { path = "vendor/pczt-fork/components/zcash_address" }
# Orchard support (matching pczt 0.3.0: ^0.11)
orchard = { version = "0.11", features = ["circuit"] }
incrementalmerkletree = "0.8"
nonempty = "0.11"
# Cryptography
secp256k1 = { version = "0.29", features = ["serde", "recovery"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Error handling
thiserror = "1.0"
# Hashing
blake2b_simd = "1.0"
# Utilities
hex = "0.4"
once_cell = "1.21.3"
[build-dependencies]
napi-build = "2.0"
[profile.release]
lto = true
codegen-units = 1
strip = true
[[bin]]
name = "debug_proof"
path = "src-rust/src/bin/debug_proof.rs"
[[bin]]
name = "zcash-prover"
path = "src-rust/src/bin/prover.rs"
[[bin]]
name = "inspect_pczt_api"
path = "src-rust/src/bin/inspect_pczt_api.rs"