Cargo Features

[dependencies]
storage-proofs-core = { version = "16.1.0", default-features = false, features = ["simd", "asm", "big-sector-sizes-bench", "measurements", "profile", "fixed-rows-to-discard", "cuda", "cuda-supraseal", "opencl"] }
default = opencl

The opencl feature is set by default whenever storage-proofs-core is added without default-features = false somewhere in the dependency tree.

simd
asm

Enables sha2-asm of sha2

big-sector-sizes-bench
measurements profile? = cpu-time, gperftools

Affects measurements::measure_op

profile = measurements
fixed-rows-to-discard

This feature enables a fixed number of discarded rows for TreeR. The FIL_PROOFS_ROWS_TO_DISCARD setting is ignored, no TemporaryAux file will be written.

cuda

Enables cuda of bellperson and filecoin-hashers

cuda-supraseal

Enables cuda-supraseal of bellperson, cuda of filecoin-hashers

Affects parameter_cache::Bls12GrothParams

opencl default

Enables opencl of bellperson and filecoin-hashers

Features from optional dependencies

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

cpu-time measurements?
gperftools measurements?