Cargo Features

[dependencies]
forest-filecoin = { version = "0.16.7", default-features = false, features = ["doctest-private", "benchmark-private", "rustalloc", "jemalloc", "mimalloc"] }

These should be refactored (probably removed) in #2984

default = jemalloc

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

doctest-private

see lib.rs::doctest_private

Affects forest-filecoin::doctest_private

benchmark-private

see lib.rs::benchmark_private

Affects index::Reader.header, forest::index, forest-filecoin::benchmark_private

rustalloc

Allocator

jemalloc default

Enables tikv-jemallocator

mimalloc

Enables mimalloc