Cargo Features

[dependencies]
filecoin-hashers = { version = "12.0.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.

cuda

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. These features may have been created by mistake, and this functionality may be removed in the future.

neptune cuda? opencl poseidon

Enables neptune ^11.0.0

lazy_static poseidon
blake2s_simd blake2s
sha2 sha256