Cargo Features
[dependencies]
microchassis = { version = "0.0.6", default-features = false, features = ["std", "jemalloc-profiling", "oompanic-allocator", "set-jemalloc-global", "disable_aslr", "actix-handlers"] }
- default = jemalloc-profiling, set-jemalloc-global, std
-
These default features are set whenever
microchassis
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables use_std of tikv-jemalloc-ctl
- jemalloc-profiling default
-
Enables backtrace
Affects
microchassis::oompanic
,profiling::jeprof
,profiling::mallctl
… - oompanic-allocator
- set-jemalloc-global default
- disable_aslr
-
Enables libc
Required by the disable_aslr binary
- actix-handlers
-
Enables actix-web and futures-util
Affects
jeprof::actix_routes
…