# 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-poseidon" version = "0.40.0" description = "Implementation of Poseidon hash algorithm over the Bls12-381 Scalar field." readme = "README.md" keywords = [ "cryptography", "zero-knowledge", "crypto", ] categories = [ "algorithms", "cryptography", "no-std", "wasm", ] license = "MPL-2.0" repository = "https://github.com/dusk-network/poseidon252" [profile.dev] opt-level = 3 lto = false codegen-units = 16 debug = 0 debug-assertions = false rpath = false panic = "unwind" overflow-checks = false incremental = false [profile.release] lto = true codegen-units = 1 debug = 0 panic = "abort" incremental = false [[bench]] name = "hash" harness = false required-features = ["zk"] [[bench]] name = "encrypt" harness = false required-features = [ "zk", "encryption", ] [[bench]] name = "decrypt" harness = false required-features = [ "zk", "encryption", ] [dependencies.dusk-bls12_381] version = "0.13" features = ["zeroize"] default-features = false [dependencies.dusk-jubjub] version = "0.14" default-features = false [dependencies.dusk-plonk] version = "0.20" features = [ "alloc", "zeroize", ] optional = true default-features = false [dependencies.dusk-safe] version = "0.2" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.dusk-bytes] version = "0.1" [dev-dependencies.ff] version = "0.13" default-features = false [dev-dependencies.once_cell] version = "1" [dev-dependencies.rand] version = "0.8" features = [ "getrandom", "std_rng", ] default-features = false [features] encryption = ["dusk-safe/encryption"] zk = ["dusk-plonk"]