[package]
name = "powdr"
description = "Main powdr crate, re-exporting the key APIs"
version = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }

[dependencies]
powdr-ast.workspace = true
powdr-backend.workspace = true
powdr-executor.workspace = true
powdr-number.workspace = true
powdr-parser.workspace = true
powdr-pil-analyzer.workspace = true
powdr-pilopt.workspace = true
powdr-pipeline.workspace = true
powdr-riscv.workspace = true
powdr-riscv-executor.workspace = true

log = "0.4.27"

serde = { version = "1.0", default-features = false, features = [
  "derive",
  "alloc",
] }
serde_cbor = "0.11.2"

[features]
default = ["plonky3"]
plonky3 = ["powdr-backend/plonky3", "powdr-pipeline/plonky3"]
stwo = ["powdr-backend/stwo", "powdr-pipeline/stwo"]

plonky3-simd = ["powdr-backend/plonky3-simd", "powdr-pipeline/plonky3-simd"]

[lints.clippy]
uninlined_format_args = "deny"

[lib]
bench = false # See https://github.com/bheisler/criterion.rs/issues/458
