# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

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

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

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

[lib]
name = "emit_core"
path = "src/lib.rs"

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

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

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

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

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

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

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

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