Cargo Features

emit_core has no features set by default.

[dependencies]
emit_core = { version = "0.11.0-alpha.21", features = ["std", "alloc", "sval", "serde", "implicit_rt", "implicit_internal_rt"] }
std = alloc

Enables error of value-bag and std of optional serde, optional sval, and optional sval_nested

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

alloc std?

Enables alloc and owned of value-bag and alloc of optional serde, optional sval, and optional sval_nested

serde:

Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.

Affects props::Props.dedup

sval

Enables sval, sval_nested, and sval_ref and sval of value-bag

value-bag:

Add support for sval

serde

Enables serde and serde of value-bag

value-bag:

Add support for serde

implicit_rt = implicit_internal_rt

Affects runtime::shared, runtime::shared_slot

implicit_internal_rt implicit_rt?

Affects runtime::internal, runtime::internal_slot