-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
54 lines (45 loc) · 1.23 KB
/
Cargo.toml
File metadata and controls
54 lines (45 loc) · 1.23 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
[package]
name = "lib-proofs"
version = "0.1.0"
edition = "2021"
authors = ["ZHTP Team"]
description = "Zero-Knowledge Proof System for ZHTP - Production-ready ZK proofs with Plonky2"
license = "MIT"
repository = "https://github.com/SOVEREIGN-NETWORK/ZHTP"
keywords = ["zero-knowledge", "plonky2", "blockchain", "privacy", "cryptography"]
categories = ["cryptography", "mathematics"]
[dependencies]
# Core dependencies
anyhow = "1.0"
serde = { version = "1.0", features = ["derive"] }
tracing = "0.1"
log = "0.4"
# Cryptographic dependencies (using lib-crypto package)
lib-crypto = { path = "../lib-crypto" }
# CPU detection for parallel processing
num_cpus = "1.16"
# Serialization
bincode = "1.3"
# Hash map for performance
ahash = "0.8"
[dev-dependencies]
tokio = { version = "1.0", features = ["full"] }
criterion = "0.5"
serde_json = "1.0"
[[bench]]
name = "zk_benchmarks"
harness = false
[lib]
name = "lib_proofs"
path = "src/lib.rs"
[features]
default = ["std", "plonky2-backend"]
std = []
# Production feature for optimized circuits
production = ["plonky2-backend"]
# Development feature for testing
dev = []
# Plonky2 ZK backend (heavy compilation)
plonky2-backend = []
# Lightweight verification only (no proof generation)
verify-only = []