Cargo Features

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

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


Enables cuda of bellperson ^0.18.0 and neptune ^5.1.0

opencl default

Enables opencl of bellperson ^0.18.0 and neptune ^5.1.0

blake2s default = blake2s_simd

available hashers

Affects cess-hashers::blake2s

poseidon default = lazy_static, neptune

Affects cess-hashers::poseidon

sha256 default = sha2

Affects cess-hashers::sha256

Features from optional dependencies

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

neptune cuda? opencl poseidon

Enables neptune ^5.1.0

lazy_static poseidon
blake2s_simd blake2s

Enables blake2s_simd ^0.5.11

sha2 sha256

Enables sha2 ^0.9.2