[[bench]]
harness = false
name = "logs"
path = "benches/logs.rs"
required-features = ["spec_unstable_logs_enabled"]
[dependencies.log]
optional = true
version = "0.4.21"
[dependencies.opentelemetry]
features = ["logs"]
version = "0.27"
[dependencies.tracing]
default-features = false
features = ["std"]
version = "0.1"
[dependencies.tracing-core]
default-features = false
version = "0.1"
[dependencies.tracing-log]
optional = true
version = "0.2"
[dependencies.tracing-subscriber]
default-features = false
features = ["registry", "std"]
version = "0.3"
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.log]
version = "0.4.21"
[dev-dependencies.tokio]
default-features = false
features = ["full"]
version = "1"
[dev-dependencies.tracing-log]
version = "0.2"
[dev-dependencies.tracing-subscriber]
default-features = false
features = ["registry", "std", "env-filter"]
version = "0.3"
[[example]]
name = "basic"
path = "examples/basic.rs"
[features]
experimental_metadata_attributes = ["dep:tracing-log"]
spec_unstable_logs_enabled = ["opentelemetry/spec_unstable_logs_enabled"]
[lib]
name = "opentelemetry_appender_tracing"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "An OpenTelemetry log appender for the tracing crate"
edition = "2021"
homepage = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-appender-tracing"
keywords = ["opentelemetry", "log", "logs", "tracing"]
license = "Apache-2.0"
name = "opentelemetry-appender-tracing"
readme = "README.md"
repository = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-appender-tracing"
rust-version = "1.70"
version = "0.27.0"
[target.'cfg(not(target_os = "windows"))'.dev-dependencies.pprof]
features = ["flamegraph", "criterion"]
version = "0.13"