[package] name = "poseidon-merkle" description = "Crate implementing Dusk Network's Merkle tree with the poseidon hash function" version = "0.7.0" categories = ["data-structures", "no-std"] keywords = ["tree", "merkle", "poseidon", "data", "structure"] repository = "https://github.com/dusk-network/merkle" authors = [ "Eduardo Leegwater Simões ", "Moana Marcello ", ] edition = "2021" license = "MPL-2.0" [dependencies] dusk-bytes = "0.1" dusk-merkle = "0.5" dusk-poseidon = "0.40" dusk-bls12_381 = { version = "0.13", default-features = false } dusk-plonk = { version = "0.20", optional = true, default-features = false } rkyv = { version = "0.7", optional = true, default-features = false } bytecheck = { version = "0.6", optional = true, default-features = false } [dev-dependencies] rand = "0.8" criterion = "0.3" ff = { version = "0.13", default-features = false } [features] zk = ["dusk-plonk/alloc", "dusk-poseidon/zk"] size_16 = ["rkyv/size_16"] size_32 = ["rkyv/size_32"] size_64 = ["rkyv/size_64"] rkyv-impl = [ "rkyv/validation", "rkyv/alloc", "rkyv", "bytecheck", "dusk-bls12_381/rkyv-impl", "dusk-merkle/rkyv-impl", ] [[bench]] name = "poseidon" harness = false [[bench]] name = "zk" harness = false required-features = ["zk"] [[test]] name = "zk" required-features = ["zk"] [[example]] name = "zk" required-features = ["zk"]