# 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.0" name = "tracing-opentelemetry" version = "0.28.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "OpenTelemetry integration for tracing" homepage = "https://github.com/tokio-rs/tracing-opentelemetry" readme = "README.md" keywords = [ "tracing", "opentelemetry", "jaeger", "zipkin", "async", ] categories = [ "development-tools::debugging", "development-tools::profiling", "asynchronous", ] license = "MIT" repository = "https://github.com/tokio-rs/tracing-opentelemetry" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "tracing_opentelemetry" path = "src/lib.rs" bench = false [[example]] name = "basic" path = "examples/basic.rs" [[example]] name = "opentelemetry-error" path = "examples/opentelemetry-error.rs" [[example]] name = "opentelemetry-otlp" path = "examples/opentelemetry-otlp.rs" [[example]] name = "opentelemetry-remote-context" path = "examples/opentelemetry-remote-context.rs" [[test]] name = "errors" path = "tests/errors.rs" [[test]] name = "filtered" path = "tests/filtered.rs" [[test]] name = "follows_from" path = "tests/follows_from.rs" [[test]] name = "metrics_publishing" path = "tests/metrics_publishing.rs" [[test]] name = "parallel" path = "tests/parallel.rs" [[test]] name = "parents" path = "tests/parents.rs" [[test]] name = "span_ext" path = "tests/span_ext.rs" [[test]] name = "trace_state_propagation" path = "tests/trace_state_propagation.rs" [[bench]] name = "metrics" path = "benches/metrics.rs" harness = false [[bench]] name = "trace" path = "benches/trace.rs" harness = false [dependencies.async-trait] version = "0.1.56" optional = true [dependencies.futures-util] version = "0.3.17" optional = true [dependencies.lazy_static] version = "1.0.2" optional = true [dependencies.once_cell] version = "1.13.0" [dependencies.opentelemetry] version = "0.27.0" features = ["trace"] default-features = false [dependencies.opentelemetry_sdk] version = "0.27.0" features = ["trace"] default-features = false [dependencies.smallvec] version = "1.0" optional = true [dependencies.thiserror] version = "1.0.31" optional = true [dependencies.tracing] version = "0.1.35" features = ["std"] default-features = false [dependencies.tracing-core] version = "0.1.28" [dependencies.tracing-log] version = "0.2.0" optional = true default-features = false [dependencies.tracing-subscriber] version = "0.3.0" features = [ "registry", "std", ] default-features = false [dev-dependencies.async-trait] version = "0.1.56" [dev-dependencies.criterion] version = "0.5.1" features = ["html_reports"] default-features = false [dev-dependencies.futures-util] version = "0.3.17" default-features = false [dev-dependencies.opentelemetry] version = "0.27.0" features = [ "trace", "metrics", ] [dev-dependencies.opentelemetry-otlp] version = "0.27.0" features = ["metrics"] [dev-dependencies.opentelemetry-semantic-conventions] version = "0.27.0" features = ["semconv_experimental"] [dev-dependencies.opentelemetry-stdout] version = "0.27.0" features = [ "trace", "metrics", ] [dev-dependencies.opentelemetry_sdk] version = "0.27.0" features = [ "trace", "rt-tokio", ] default-features = false [dev-dependencies.tokio] version = "1" features = ["full"] [dev-dependencies.tokio-stream] version = "0.1" [dev-dependencies.tracing] version = "0.1.35" features = [ "std", "attributes", ] default-features = false [dev-dependencies.tracing-error] version = "0.2.0" [dev-dependencies.tracing-subscriber] version = "0.3.0" features = [ "registry", "std", "fmt", ] default-features = false [features] default = [ "tracing-log", "metrics", ] metrics = [ "opentelemetry/metrics", "opentelemetry_sdk/metrics", "smallvec", ] metrics_gauge_unstable = ["opentelemetry/otel_unstable"] [target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dependencies.js-sys] version = "0.3.64" [target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dependencies.web-time] version = "1.0.0" [target.'cfg(not(target_os = "windows"))'.dev-dependencies.pprof] version = "0.13.0" features = [ "flamegraph", "criterion", ]