Cargo Features

[dependencies]
fil-proofs-param = { version = "12.0.0", default-features = false, features = ["cpu-profile", "heap-profile", "simd", "asm", "cuda", "opencl", "fixed-rows-to-discard"] }
default = opencl

The opencl feature is set by default whenever fil-proofs-param 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 storage-proofs-core, storage-proofs-porep, storage-proofs-post, and storage-proofs-update

opencl default

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

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 filecoin-proofs, 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?