Cargo Features
[dependencies]
emit = { version = "0.11.0-alpha.21", default-features = false, features = ["std", "alloc", "sval", "serde", "implicit_rt", "implicit_internal_rt"] }
- default = implicit_internal_rt, implicit_rt, std
-
These default features are set whenever
emit
is added without
somewhere in the dependency tree.default-features = false - std default = alloc, rand
-
Enables std of emit_core and emit_macros
Affects
emit::setup
,platform::system_clock
,platform::thread_local_ctxt
… - alloc std
- sval
-
Enables sval, sval of emit_core and emit_macros
- serde
-
Enables serde, serde of emit_core and emit_macros
- implicit_rt default
-
Enables implicit_rt of emit_core and emit_macros
Affects
emit::clock
,emit::ctxt
,emit::rng
,emit::blocking_flush
… - implicit_internal_rt default
-
Enables implicit_internal_rt of emit_core
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.