Cargo Features
[dependencies]
fvm = { version = "4.5.3", default-features = false, features = ["opencl", "cuda", "cuda-supraseal", "arb", "m2-native", "gas_calibration", "testing", "verify-signature"] }
- default = opencl, verify-signature
-
These default features are set whenever
fvm
is added without
somewhere in the dependency tree.default-features = false - opencl default
-
Enables opencl of filecoin-proofs-api
- cuda
-
Enables cuda of filecoin-proofs-api
- cuda-supraseal
-
Enables cuda-supraseal of filecoin-proofs-api
- arb = arbitrary, quickcheck
-
Enables arb of fvm_shared
- m2-native
-
Affects
init_actor::State.installed_actors
… - upgrade-actor gas_calibration
- testing
-
Affects
fvm::account_actor
,fvm::init_actor
,fvm::system_actor
… - verify-signature default
-
Use this feature to keep
verify_signature
syscall that is supposed to be removed by FIP-0079, The current implementation keeps it by default for backward compatibility reason. See https://github.com/filecoin-project/ref-fvm/issues/2001Affects
kernel::CryptoOps.verify_signature
,crypto::verify_signature
…
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.