Cargo Features
[dependencies]
forest-filecoin = { version = "0.22.0", default-features = false, features = ["slim", "doctest-private", "benchmark-private", "interop-tests-private", "rustalloc", "jemalloc", "mimalloc", "tokio-console", "tracing-loki", "tracing-chrome", "no-f3-sidecar"] }
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
somewhere in the dependency tree.default-features = false - 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
… - interop-tests-private
-
see lib.rs::interop_tests_private
Affects
forest-filecoin::interop_tests_private
… - rustalloc slim?
-
Allocator
- jemalloc default
-
Enables tikv-jemallocator
- mimalloc
-
Enables mimalloc
- tokio-console default
-
Enables console-subscriber
optional dependencies
- tracing-loki default
-
Enables tracing-loki
- tracing-chrome default
-
Enables tracing-chrome
- no-f3-sidecar