Cargo Features

[dependencies]
filecoin-proofs = { version = "17.0.0", default-features = false, features = ["cpu-profile", "heap-profile", "simd", "asm", "cuda", "cuda-supraseal", "opencl", "multicore-sdr", "big-tests", "fixed-rows-to-discard"] }
default = opencl

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

cpu-profile = gperftools
heap-profile

Enables heap of gperftools

simd

Enables simd of storage-proofs-core

asm

Enables asm of storage-proofs-core

cuda

Enables cuda of bellperson, filecoin-hashers, storage-proofs-core, storage-proofs-porep, storage-proofs-post, and storage-proofs-update

cuda-supraseal

Enables cuda-supraseal of bellperson, cuda of filecoin-hashers, cuda-supraseal of storage-proofs-core, cuda of storage-proofs-porep, storage-proofs-post, and storage-proofs-update

opencl default

Enables opencl of bellperson, filecoin-hashers, storage-proofs-core, storage-proofs-porep, storage-proofs-post, and storage-proofs-update

multicore-sdr

Enables multicore-sdr of storage-proofs-porep

big-tests
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.

Enables fixed-rows-to-discard of storage-proofs-core, storage-proofs-porep, storage-proofs-post, and storage-proofs-update

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.

gperftools cpu-profile? heap-profile?