# 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"
version = "0.11.0-alpha.5"
authors = ["emit contributors"]
description = "Structured diagnostics for Rust applications."
readme = "README.md"
keywords = [
    "logging",
    "tracing",
    "metrics",
    "observability",
]
categories = ["development-tools::debugging"]
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",
]

[dependencies.emit_core]
version = "0.11.0-alpha.5"
default-features = false

[dependencies.emit_macros]
version = "0.11.0-alpha.5"

[dependencies.rand]
version = "0.8"
optional = true

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

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

[dependencies.value-bag]
version = "1"

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[features]
alloc = ["emit_core/alloc"]
default = [
    "std",
    "implicit_rt",
    "implicit_internal_rt",
]
implicit_internal_rt = ["emit_core/implicit_internal_rt"]
implicit_rt = [
    "emit_core/implicit_rt",
    "emit_macros/implicit_rt",
]
serde = [
    "emit_macros/serde",
    "emit_core/serde",
    "dep:serde",
]
std = [
    "alloc",
    "emit_macros/std",
    "emit_core/std",
    "rand",
]
sval = [
    "emit_macros/sval",
    "emit_core/sval",
    "dep:sval",
]
