[package] name = "opentelemetry-appender-tracing2" version = "0.26.0" edition = "2021" description = "An OpenTelemetry log appender for the tracing crate" homepage = "https://github.com/Romira915/opentelemetry-rust/tree/patch/trace-id-span-id/opentelemetry-appender-tracing" repository = "https://github.com/Romira915/opentelemetry-rust/tree/patch/trace-id-span-id/opentelemetry-appender-tracing" readme = "README.md" keywords = ["opentelemetry", "log", "logs", "tracing"] license = "Apache-2.0" rust-version = "1.65" [dependencies] log = { version = "0.4.21", optional = true } opentelemetry = { version = "0.26", features = ["logs"] } tracing = { version = "0.1", features = ["std"] } tracing-core = { version = "0.1" } tracing-log = { version = "0.2", optional = true } tracing-subscriber = { version = "0.3", features = ["registry", "std"] } tracing-opentelemetry = { version = "0.27.0", features = [] } [dev-dependencies] log = { workspace = true } opentelemetry-stdout = { path = "../opentelemetry-stdout", features = ["logs"] } opentelemetry_sdk = { path = "../opentelemetry-sdk", features = [ "logs", "testing", ] } tracing-log = "0.2" async-trait = { workspace = true } criterion = { workspace = true } [target.'cfg(not(target_os = "windows"))'.dev-dependencies] pprof = { version = "0.13", features = ["flamegraph", "criterion"] } [features] experimental_metadata_attributes = ["dep:tracing-log"] logs_level_enabled = ["opentelemetry/logs_level_enabled"] [[bench]] name = "logs" harness = false required-features = ["logs_level_enabled"]