Cargo Features

[dependencies]
forest-filecoin = { version = "0.19.1", default-features = false, features = ["slim", "doctest-private", "benchmark-private", "rustalloc", "jemalloc", "mimalloc", "tokio-console", "tracing-loki", "tracing-chrome"] }

These should be refactored (probably removed) in #2984

default = jemalloc, tokio-console, tracing-chrome, tracing-loki

These default features are set whenever forest-filecoin is added without default-features = false somewhere in the dependency tree.

slim = rustalloc
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 slim?

Allocator

jemalloc default

Enables tikv-jemallocator ^0.5

mimalloc

Enables mimalloc

tokio-console default

Enables console-subscriber

optional dependencies

tracing-loki default

Enables tracing-loki

tracing-chrome default

Enables tracing-chrome