Cargo Features

filecoin-hashers = { version = "11.1.0", default-features = false, features = ["cuda", "opencl", "blake2s", "poseidon", "sha256"] }
default = blake2s, opencl, poseidon, sha256

These default features are set whenever filecoin-hashers is added without default-features = false somewhere in the dependency tree.


Enables cuda of bellperson and neptune ^11.0.0

opencl default

Enables opencl of bellperson and neptune ^11.0.0

blake2s default = blake2s_simd

available hashers

Affects filecoin-hashers::blake2s

poseidon default = lazy_static, neptune

Affects filecoin-hashers::poseidon

sha256 default = sha2

Affects filecoin-hashers::sha256

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

neptune poseidon

Enables bls, arity2, arity4, arity8, arity11, arity16, arity24 and arity36 of neptune ^11.0.0

lazy_static poseidon
blake2s_simd blake2s

With default (std)

sha2 sha256

With default (std)