Cargo Features

poseidon-merkle has no features set by default.

[dependencies]
poseidon-merkle = { version = "0.7.0", features = ["zk", "size_16", "size_32", "size_64", "rkyv-impl"] }
zk

Enables alloc of dusk-plonk, zk of dusk-poseidon

Affects poseidon-merkle::zk

size_16

Enables size_16 of rkyv ^0.7

size_32

Enables size_32 of rkyv ^0.7

size_64

Enables size_64 of rkyv ^0.7

rkyv-impl = bytecheck, rkyv

Enables alloc and validation of rkyv ^0.7, rkyv-impl of dusk-bls12_381 and dusk-merkle

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

dusk-plonk zk?
rkyv rkyv-impl? size_16? size_32? size_64?

Enables rkyv ^0.7

bytecheck rkyv-impl?

Enables bytecheck ^0.6