# 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-schnorr" version = "0.18.0" exclude = [ ".gitignore", "Cargo.lock", ".github/", ] description = "A pure-Rust implementation of Schnorr signatures with a PLONK circuit module additionally" readme = "README.md" keywords = [ "cryptography", "schnorr", "zk-snarks", "zero-knowledge", "signatures", ] categories = [ "algorithms", "cryptography", "mathematics", ] license = "MPL-2.0" repository = "https://github.com/dusk-network/schnorr" [package.metadata.docs.rs] rustdoc-args = [ "--html-in-header", "./katex-header.html", ] [[test]] name = "double" path = "tests/schnorr_double.rs" required-features = ["double"] [[test]] name = "var_generator" path = "tests/schnorr_var_generator.rs" required-features = ["var_generator"] [[test]] name = "gadgets" path = "tests/gadgets.rs" required-features = ["alloc"] [[bench]] name = "signature" harness = false [[bench]] name = "signature_double" harness = false required-features = ["double"] [[bench]] name = "signature_var_generator" harness = false required-features = ["var_generator"] [dependencies.bytecheck] version = "0.6" optional = true default-features = false [dependencies.dusk-bls12_381] version = "0.13" default-features = false [dependencies.dusk-bytes] version = "0.1" [dependencies.dusk-jubjub] version = "0.14" default-features = false [dependencies.dusk-plonk] version = "0.19" default-features = false [dependencies.dusk-poseidon] version = "0.33" default-features = false [dependencies.ff] version = "0.13" default-features = false [dependencies.rand_core] version = "0.6" default-features = false [dependencies.rkyv] version = "0.7" optional = true default-features = false [dev-dependencies.criterion] version = "0.3" [dev-dependencies.lazy_static] version = "1.4" [dev-dependencies.rand] version = "0.8" [dev-dependencies.rkyv] version = "0.7" features = ["size_32"] default-features = false [features] alloc = [ "dusk-bls12_381/alloc", "dusk-plonk/alloc", "dusk-poseidon/alloc", ] default = ["std"] double = [] rkyv-impl = [ "dusk-jubjub/rkyv-impl", "rkyv", "bytecheck", ] std = [ "alloc", "dusk-plonk/std", "rand_core/std", ] var_generator = []