2024-11-08 12:23:55 +01:00
|
|
|
[package]
|
|
|
|
|
name = "workflow"
|
|
|
|
|
description = "workflow of the codex storage proofs"
|
|
|
|
|
authors = ["Mohammed Alghazwi <m.ghazwi@gmail.com>"]
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
|
clap = { version = "4.0", features = ["derive"] }
|
2024-12-06 09:12:02 +01:00
|
|
|
serde = { workspace = true }
|
|
|
|
|
serde_json = { workspace = true }
|
|
|
|
|
anyhow = { workspace = true }
|
|
|
|
|
plonky2 = { workspace = true }
|
|
|
|
|
plonky2_field = { workspace = true }
|
|
|
|
|
|
|
|
|
|
# --- local ---
|
2024-11-08 12:23:55 +01:00
|
|
|
plonky2_poseidon2 = { path = "../plonky2_poseidon2" }
|
|
|
|
|
codex-plonky2-circuits = { path = "../codex-plonky2-circuits" }
|
|
|
|
|
proof-input = { path = "../proof-input" }
|
|
|
|
|
|
2024-11-14 12:26:37 +01:00
|
|
|
[dev-dependencies]
|
|
|
|
|
criterion = { version = "0.5.1", default-features = false }
|
|
|
|
|
tynm = { version = "0.1.6", default-features = false }
|
|
|
|
|
|
2024-11-08 12:23:55 +01:00
|
|
|
[[bin]]
|
|
|
|
|
name = "prove_and_verify"
|
2024-11-14 10:31:32 +01:00
|
|
|
path = "src/bin/prove_and_verify.rs"
|
|
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
|
name = "gen_input"
|
|
|
|
|
path = "src/bin/gen_input.rs"
|
|
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
|
name = "build_circ"
|
|
|
|
|
path = "src/bin/build_circ.rs"
|
|
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
|
name = "prove"
|
2024-11-14 12:26:37 +01:00
|
|
|
path = "src/bin/prove.rs"
|
|
|
|
|
|
|
|
|
|
[[bench]]
|
2025-01-14 23:03:00 +01:00
|
|
|
name = "merkle_circuit"
|
2024-11-14 12:26:37 +01:00
|
|
|
harness = false
|
|
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
|
name = "sample_cells"
|
2024-12-06 09:12:02 +01:00
|
|
|
harness = false
|
|
|
|
|
|
|
|
|
|
[[bench]]
|
2025-01-06 14:14:56 +01:00
|
|
|
name = "simple_recursion"
|
2024-12-06 09:12:02 +01:00
|
|
|
harness = false
|
|
|
|
|
|
|
|
|
|
[[bench]]
|
2025-01-14 23:03:00 +01:00
|
|
|
name = "simple_recursion_hashed_pi"
|
2025-01-06 14:14:56 +01:00
|
|
|
harness = false
|
|
|
|
|
|
|
|
|
|
[[bench]]
|
2025-01-14 23:03:00 +01:00
|
|
|
name = "cyclic_recursion"
|
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
|
name = "tree_recursion1"
|
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
|
name = "tree_recursion2"
|
2024-12-30 11:40:13 +03:00
|
|
|
harness = false
|
|
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
|
name = "simple_tree_recursion"
|
2025-01-17 10:06:41 +01:00
|
|
|
harness = false
|
|
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
|
name = "hybrid_recursion"
|
2024-11-14 12:26:37 +01:00
|
|
|
harness = false
|