[package] name = "liminal-ark-relations" version = "0.4.0" edition = "2021" authors = ["Cardinal"] documentation = "https://docs.rs/?" homepage = "https://alephzero.org" license = "Apache-2.0" categories = ["cryptography"] repository = "https://github.com/Cardinal-Cryptography/aleph-node" description = "An instantiation of the Poseidon SNARK-friendly hash function." [dependencies] ark-bls12-381 = { version = "^0.3.0", default-features = false } ark-ff = { version = "^0.3.0", default-features = false } ark-relations = { version = "^0.3.0", default-features = false } ark-serialize = { version = "^0.3.0", default-features = false } ark-std = { version = "^0.3.0", default-features = false } liminal-ark-poseidon = { version = "0.1.0", default-features = false } liminal-ark-relation-macro = { version = "0.1.3" } paste = { version = "1.0.11" } # Required for computation in a circuit. ark-crypto-primitives = { version = "^0.3.0", default-features = false, features = [ "r1cs" ], optional = true } ark-ec = { version = "^0.3.0", default-features = false, optional = true } ark-ed-on-bls12-381 = { version = "^0.3.0", features = ["r1cs"], optional = true } ark-gm17 = { version = "^0.3.0", default-features = false, optional = true } ark-groth16 = { version = "^0.3.0", default-features = false, optional = true } ark-marlin = { version = "^0.3.0", default-features = false, optional = true } ark-poly = { version = "^0.3.0", default-features = false, optional = true } ark-poly-commit = { version = "^0.3.0", default-features = false, optional = true } ark-snark = { version = "^0.3.0", default-features = false, optional = true } ark-r1cs-std = { version = "^0.3.0", default-features = false, optional = true } blake2 = { version = "0.9.2", default-features = false, optional = true } [dev-dependencies] criterion = "0.3" [[bench]] name = "bench" harness = false [features] default = ["circuit-std"] std = [ "ark-bls12-381/std", "ark-ff/std", "ark-relations/std", "ark-relations/tracing-subscriber", "ark-serialize/std", "ark-std/std", "liminal-ark-relation-macro/std", ] circuit = [ "ark-crypto-primitives", "ark-ec", "ark-ed-on-bls12-381", "ark-gm17", "ark-groth16", "ark-marlin", "ark-poly", "ark-poly-commit", "ark-snark", "ark-r1cs-std", "blake2", "liminal-ark-poseidon/circuit", ] circuit-std = [ "circuit", "std", "ark-crypto-primitives/std", "ark-ec/std", "ark-ed-on-bls12-381/std", "ark-gm17/std", "ark-groth16/std", "ark-marlin/std", "ark-poly/std", "ark-poly-commit/std", "ark-r1cs-std/std", "blake2/std", "liminal-ark-poseidon/circuit-std", ]