[package]
name = "emit_core"
version = "1.20.1"
authors = ["emit contributors"]
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/emit-rs/emit"
description = "Core APIs and runtime infrastructure for emit."
edition = "2021"

[package.metadata.docs.rs]
features = ["std", "sval", "serde", "implicit_rt", "implicit_internal_rt"]

[features]
std = ["alloc", "value-bag/error", "sval_nested?/std", "sval?/std", "serde?/std"]
alloc = ["value-bag/alloc", "value-bag/owned", "sval_nested?/alloc", "sval?/alloc", "serde?/alloc"]
sval = ["value-bag/sval", "dep:sval", "dep:sval_ref", "dep:sval_nested"]
serde = ["value-bag/serde", "dep:serde"]
implicit_rt = ["implicit_internal_rt"]
implicit_internal_rt = []

[dependencies.value-bag]
version = "1.11"
features = ["inline-i128", "inline-str", "seq"]
default-features = false

[dependencies.unicode-ident]
version = "1"

[dependencies.sval]
version = "2"
optional = true
default-features = false

[dependencies.sval_ref]
version = "2"
optional = true
default-features = false

[dependencies.sval_nested]
version = "2"
optional = true
default-features = false

[dependencies.serde]
version = "1"
optional = true
default-features = false

[dev-dependencies.sval_test]
version = "2"

[dev-dependencies.serde_test]
version = "1"
