[package] name = "phoenix-circuits" version = "0.4.0" edition = "2021" repository = "https://github.com/dusk-network/phoenix/circuits" description = "Circuit definitions for Phoenix, a privacy-preserving ZKP-based transaction model" license = "MPL-2.0" exclude = [".github/workflows/dusk-ci.yml", ".gitignore"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] dusk-bytes = "0.1" phoenix-core = { version = "0.32", default-features = false, path = "../core" } dusk-bls12_381 = { version = "0.13", default-features = false } dusk-jubjub = { version = "0.14", default-features = false } poseidon-merkle = { version = "0.7" } dusk-poseidon = { version = "0.40" } jubjub-schnorr = { version = "0.5" } rkyv = { version = "0.7", default-features = false, optional = true } bytecheck = { version = "0.6", default-features = false, optional = true } dusk-plonk = { version = "0.20", default-features = false, optional = true } [dev-dependencies] lazy_static = "1.4" rand = { version = "0.8", default-features = false, features = ["std_rng"] } ff = { version = "0.13", default-features = false } [features] default = ["plonk"] plonk = [ "dusk-plonk", "poseidon-merkle/zk", "dusk-poseidon/zk", "jubjub-schnorr/zk", ] rkyv-impl = [ "phoenix-core/rkyv-impl", "dusk-jubjub/rkyv-impl", "jubjub-schnorr/rkyv-impl", "dusk-bls12_381/rkyv-impl", "rkyv", "bytecheck" ]