Cargo Features

[dependencies]
emit = { version = "0.11.0-alpha.5", 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 default-features = false somewhere in the dependency tree.

std default = alloc, rand

Enables std of emit_core and emit_macros

Affects emit::setup, platform::system_clock, platform::thread_local_ctxt, platform::DefaultCtxt

alloc std

Enables alloc of emit_core

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

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.

rand std

Affects platform::rand_rng