Cargo Features

fvm_shared has no features set by default.

fvm_shared = { version = "4.0.0", features = ["crypto", "proofs", "secp256k1", "blst", "pairing", "arb", "testing", "bls-signatures"] }
crypto = blst, libsecp256k1, proofs

Affects signature::verify, signature::ops

proofs crypto? = filecoin-proofs-api

Affects piece::zero

secp256k1 = libsecp256k1
blst crypto?

Enables blst of bls-signatures


Enables pairing of bls-signatures

arb = arbitrary

Enables quickcheck of num-bigint, quickcheck


Features from optional dependencies

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

filecoin-proofs-api proofs?

libsecp256k1 crypto? secp256k1?

With default features

bls-signatures implicit feature
arbitrary arb?

With derive