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