# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "dusk-plonk" version = "0.20.2" exclude = [ "**/.gitignore", ".gitignore", "Cargo.lock", ".github/", ] description = "A pure-Rust implementation of the PLONK ZK-Proof algorithm" readme = "README.md" keywords = [ "cryptography", "plonk", "zk-snarks", "zero-knowledge", "crypto", ] categories = [ "algorithms", "cryptography", "science", "mathematics", ] license = "MPL-2.0" repository = "https://github.com/dusk-network/plonk" [package.metadata.docs.rs] rustdoc-args = [ "--html-in-header", "./katex-header.html", ] [profile.bench] opt-level = 3 lto = true codegen-units = 1 debug = 0 debug-assertions = false overflow-checks = false incremental = false [profile.release] codegen-units = 1 debug = 2 panic = "abort" overflow-checks = false [[example]] name = "circuit" required-features = ["alloc"] [[test]] name = "append_gate" required-features = ["alloc"] [[test]] name = "assert_point" required-features = ["alloc"] [[test]] name = "assert_scalar" required-features = ["alloc"] [[test]] name = "boolean" required-features = ["alloc"] [[test]] name = "composer" required-features = ["alloc"] [[test]] name = "debugger" required-features = [ "debug", "std", ] [[test]] name = "decomposition" required-features = ["alloc"] [[test]] name = "ecc" required-features = ["alloc"] [[test]] name = "error_size" required-features = ["alloc"] [[test]] name = "gate_add_mul" required-features = ["alloc"] [[test]] name = "logic" required-features = ["alloc"] [[test]] name = "range" required-features = ["alloc"] [[test]] name = "select_bls" required-features = ["alloc"] [[test]] name = "select_point" required-features = ["alloc"] [[bench]] name = "plonk" harness = false [dependencies.backtrace] version = "0.3" optional = true [dependencies.bytecheck] version = "0.6" optional = true default-features = false [dependencies.cfg-if] version = "1.0" [dependencies.dusk-bls12_381] version = "0.13" features = [ "groups", "pairings", ] default-features = false [dependencies.dusk-bytes] version = "0.1" [dependencies.dusk-cdf] version = "0.5" optional = true [dependencies.dusk-jubjub] version = "0.14" default-features = false [dependencies.ff] version = "0.13" default-features = false [dependencies.hashbrown] version = "0.9" features = ["ahash"] default-features = false [dependencies.itertools] version = "0.9" default-features = false [dependencies.merlin] version = "3.0" default-features = false [dependencies.miniz_oxide] version = "0.7" features = ["with-alloc"] optional = true default-features = false [dependencies.msgpacker] version = "=0.4.3" features = [ "alloc", "derive", ] optional = true default-features = false [dependencies.rand_core] version = "0.6" default-features = false [dependencies.rayon] version = "1.3" optional = true [dependencies.rkyv] version = "0.7" optional = true default-features = false [dependencies.sha2] version = "0.10" optional = true default-features = false [dependencies.zeroize] version = "1" optional = true [dev-dependencies.criterion] version = "0.5" [dev-dependencies.rand] version = "0.8" [dev-dependencies.rkyv] version = "0.7" features = ["size_32"] default-features = false [dev-dependencies.tempdir] version = "0.3" [features] alloc = [ "dusk-bls12_381/alloc", "msgpacker", "miniz_oxide", "sha2", ] debug = [ "dusk-cdf", "backtrace", ] default = ["std"] rkyv-impl = [ "dusk-bls12_381/rkyv-impl", "dusk-jubjub/rkyv-impl", "rkyv", "bytecheck", ] std = [ "rand_core/std", "dusk-bls12_381/default", "dusk-jubjub/default", "itertools/default", "hashbrown/default", "msgpacker/std", "miniz_oxide/std", "alloc", "rayon", ]