Skip to content

Commit

Permalink
add prover features to cli-rs (#1668)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardoalt authored Aug 8, 2024
1 parent 76806b5 commit 2ecb5e5
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
6 changes: 6 additions & 0 deletions cli-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ license = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }

[features]
default = []
halo2 = ["powdr-pipeline/halo2"]
plonky3 = ["powdr-pipeline/plonky3"]
estark-polygon = ["powdr-pipeline/estark-polygon", "powdr-riscv/estark-polygon"]

[dependencies]
powdr-number.workspace = true
powdr-riscv.workspace = true
Expand Down
7 changes: 5 additions & 2 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ default-run = "powdr"
[features]
default = [] # halo2 is disabled by default
halo2 = ["powdr-backend/halo2", "powdr-pipeline/halo2"]
plonky3 = ["powdr-backend/plonky3"]
estark-polygon = ["powdr-backend/estark-polygon", "powdr-pipeline/estark-polygon"]
plonky3 = ["powdr-backend/plonky3", "powdr-pipeline/plonky3"]
estark-polygon = [
"powdr-backend/estark-polygon",
"powdr-pipeline/estark-polygon",
]

[dependencies]
powdr-backend.workspace = true
Expand Down
10 changes: 7 additions & 3 deletions powdr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,14 @@ powdr-riscv.workspace = true
powdr-riscv-executor.workspace = true

[features]
default = ["halo2"]
plonky3 = ["powdr-backend/plonky3"]
default = ["halo2", "plonky3"]
plonky3 = ["powdr-backend/plonky3", "powdr-pipeline/plonky3"]
halo2 = ["powdr-backend/halo2", "powdr-pipeline/halo2"]
estark-polygon = ["powdr-backend/estark-polygon", "powdr-pipeline/estark-polygon", "powdr-riscv/estark-polygon"]
estark-polygon = [
"powdr-backend/estark-polygon",
"powdr-pipeline/estark-polygon",
"powdr-riscv/estark-polygon",
]

[lints.clippy]
uninlined_format_args = "deny"

0 comments on commit 2ecb5e5

Please sign in to comment.