Cargo Features
[dependencies]
filecoin-hashers = { version = "13.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
somewhere in the dependency tree.default-features = false - 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.