# 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 = "liminal-ark-poseidon" version = "0.1.0" authors = ["Cardinal"] description = "An instantiation of the Poseidon SNARK-friendly hash function." homepage = "https://alephzero.org" documentation = "https://docs.rs/liminal-ark-poseidon" readme = "README.md" categories = ["cryptography"] license = "Apache-2.0" repository = "https://github.com/Cardinal-Cryptography/aleph-node" resolver = "1" [lib] name = "liminal_ark_poseidon" [[bin]] name = "liminal-ark-poseidon-paramgen" path = "src/generate_parameters.rs" required-features = ["paramgen"] [dependencies.ark-bls12-381] version = "^0.3.0" [dependencies.ark-ff] version = "^0.3.0" default-features = false [dependencies.ark-r1cs-std] version = "^0.3.0" optional = true default-features = false [dependencies.ark-relations] version = "^0.3.0" optional = true default-features = false [dependencies.liminal-ark-pnbr-poseidon-parameters] version = "0.1.0" default-features = false [dependencies.liminal-ark-pnbr-poseidon-paramgen] version = "0.1.0" optional = true [dependencies.liminal-ark-pnbr-poseidon-permutation] version = "0.1.0" default-features = false [dependencies.liminal-ark-pnbr-sponge] version = "0.3.0" features = ["r1cs"] optional = true default-features = false [dependencies.paste] version = "1.0.11" [features] circuit = [ "ark-r1cs-std", "ark-relations", "liminal-ark-pnbr-sponge", ] circuit-std = [ "circuit", "std", "ark-r1cs-std/std", "ark-relations/std", "liminal-ark-pnbr-sponge/std", ] default = ["std"] paramgen = [ "std", "liminal-ark-pnbr-poseidon-paramgen/std", ] std = [ "ark-bls12-381/std", "ark-ff/std", "liminal-ark-pnbr-poseidon-parameters/std", "liminal-ark-pnbr-poseidon-permutation/std", ]