[package] name = "tracing-opentelemetry" version = "0.18.0" authors = [ "Julian Tescher ", "Tokio Contributors " ] description = "OpenTelemetry integration for tracing" homepage = "https://github.com/tokio-rs/tracing/tree/master/tracing-opentelemetry" repository = "https://github.com/tokio-rs/tracing" readme = "README.md" categories = [ "development-tools::debugging", "development-tools::profiling", "asynchronous", ] keywords = ["tracing", "opentelemetry", "jaeger", "zipkin", "async"] license = "MIT" edition = "2018" rust-version = "1.56.0" [features] default = ["tracing-log", "metrics"] # Enables support for exporting OpenTelemetry metrics metrics = ["opentelemetry/metrics"] [dependencies] opentelemetry = { version = "0.18.0", default-features = false, features = ["trace"] } tracing = { path = "../tracing", version = "0.1.35", default-features = false, features = ["std"] } tracing-core = { path = "../tracing-core", version = "0.1.28" } tracing-subscriber = { path = "../tracing-subscriber", version = "0.3.0", default-features = false, features = ["registry", "std"] } tracing-log = { path = "../tracing-log", version = "0.1.3", default-features = false, optional = true } once_cell = "1.13.0" # Fix minimal-versions async-trait = { version = "0.1.56", optional = true } thiserror = { version = "1.0.31", optional = true } [dev-dependencies] async-trait = "0.1.56" criterion = { version = "0.3.6", default-features = false } opentelemetry-jaeger = "0.17.0" futures-util = { version = "0.3", default-features = false } tokio = { version = "1", features = ["full"] } tokio-stream = "0.1" [lib] bench = false [[bench]] name = "trace" harness = false [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]