Cargo Features
[dependencies]
fil-proofs-param = { version = "13.1.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 wheneverfil-proofs-param
is added without
somewhere in the dependency tree.default-features = false - 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, noTemporaryAux
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.