-
Notifications
You must be signed in to change notification settings - Fork 396
Expand file tree
/
Copy pathCargo.toml
More file actions
66 lines (55 loc) · 1.78 KB
/
Cargo.toml
File metadata and controls
66 lines (55 loc) · 1.78 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
[package]
name = "proof_aggregator"
version = "0.1.0"
edition = "2021"
[dependencies]
serde = { workspace = true }
serde_json = { workspace = true }
serde_yaml = { workspace = true }
alloy = { workspace = true }
bincode = { workspace = true }
aligned-sdk = { workspace = true }
db = { workspace = true }
tracing = { version = "0.1", features = ["log"] }
tracing-subscriber = { version = "0.3.0", features = ["env-filter"] }
c-kzg = "2.1.1"
tokio = { version = "1", features = ["time"]}
sha3 = "0.10.8"
reqwest = { version = "0.12" }
ciborium = "=0.2.2"
lambdaworks-crypto = { git = "https://github.com/lambdaclass/lambdaworks.git", rev = "5f8f2cfcc8a1a22f77e8dff2d581f1166eefb80b", features = ["serde"]}
rayon = "1.10.0"
backon = "1.2.0"
sqlx = { version = "0.8", features = [ "runtime-tokio", "postgres", "uuid", "bigdecimal" ] }
# zkvms
sp1-sdk = { workspace = true }
sp1_aggregation_program = { path = "./aggregation_programs/sp1" }
risc0-zkvm = { workspace = true }
risc0_aggregation_program = { path = "./aggregation_programs/risc0" }
risc0-ethereum-contracts = { git = "https://github.com/risc0/risc0-ethereum/", tag = "v3.0.0" }
[build-dependencies]
sp1-build = { version = "5.0.0" }
risc0-build = { version = "3.0.3" }
[package.metadata.risc0]
# Tell risc0 build to find method in ./aggregation_programs/risc0 package
methods = ["./aggregation_programs/risc0"]
[profile.release]
opt-level = 3
[features]
default = []
prove = []
gpu = ["risc0-zkvm/cuda"]
[[bin]]
name = "proof_aggregator_cpu"
path = "./src/main.rs"
required-features = ["prove"]
[[bin]]
name = "proof_aggregator_gpu"
path = "./src/main.rs"
required-features = ["prove", "gpu"]
[[bin]]
name = "proof_aggregator_dev"
path = "./src/main.rs"
[[bin]]
name = "write_program_image_id_vk_hash"
path = "./bin/write_program_image_id_vk_hash.rs"