1[package] 2name = "tracing-opentelemetry" 3version = "0.18.0" 4authors = [ 5 "Julian Tescher <julian@tescher.me>", 6 "Tokio Contributors <team@tokio.rs>" 7] 8description = "OpenTelemetry integration for tracing" 9homepage = "https://github.com/tokio-rs/tracing/tree/master/tracing-opentelemetry" 10repository = "https://github.com/tokio-rs/tracing" 11readme = "README.md" 12categories = [ 13 "development-tools::debugging", 14 "development-tools::profiling", 15 "asynchronous", 16] 17keywords = ["tracing", "opentelemetry", "jaeger", "zipkin", "async"] 18license = "MIT" 19edition = "2018" 20rust-version = "1.56.0" 21 22[features] 23default = ["tracing-log", "metrics"] 24# Enables support for exporting OpenTelemetry metrics 25metrics = ["opentelemetry/metrics"] 26 27[dependencies] 28opentelemetry = { version = "0.18.0", default-features = false, features = ["trace"] } 29tracing = { path = "../tracing", version = "0.1.35", default-features = false, features = ["std"] } 30tracing-core = { path = "../tracing-core", version = "0.1.28" } 31tracing-subscriber = { path = "../tracing-subscriber", version = "0.3.0", default-features = false, features = ["registry", "std"] } 32tracing-log = { path = "../tracing-log", version = "0.1.3", default-features = false, optional = true } 33once_cell = "1.13.0" 34 35# Fix minimal-versions 36async-trait = { version = "0.1.56", optional = true } 37thiserror = { version = "1.0.31", optional = true } 38 39[dev-dependencies] 40async-trait = "0.1.56" 41criterion = { version = "0.3.6", default-features = false } 42opentelemetry-jaeger = "0.17.0" 43futures-util = { version = "0.3", default-features = false } 44tokio = { version = "1", features = ["full"] } 45tokio-stream = "0.1" 46 47[lib] 48bench = false 49 50[[bench]] 51name = "trace" 52harness = false 53 54[package.metadata.docs.rs] 55all-features = true 56rustdoc-args = ["--cfg", "docsrs"] 57