# 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" name = "init-tracing-opentelemetry" version = "0.25.0" authors = ["David Bernard"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A set of helpers to initialize (and more) tracing + opentelemetry (compose your own or use opinionated preset)" homepage = "https://github.com/davidB/tracing-opentelemetry-instrumentation-sdk/tree/main/init-tracing-opentelemetry" readme = "README.md" keywords = [ "tracing", "opentelemetry", ] categories = [ "development-tools::debugging", "development-tools::profiling", ] license = "CC0-1.0" repository = "https://github.com/davidB/tracing-opentelemetry-instrumentation-sdk" [lib] name = "init_tracing_opentelemetry" path = "src/lib.rs" [dependencies.opentelemetry] version = "0.27" features = ["trace"] default-features = false [dependencies.opentelemetry-aws] version = "0.15" features = ["trace"] optional = true default-features = false [dependencies.opentelemetry-jaeger-propagator] version = "0.27" optional = true default-features = false [dependencies.opentelemetry-otlp] version = "0.27" features = [ "grpc-tonic", "trace", ] optional = true default-features = false [dependencies.opentelemetry-semantic-conventions] version = "0.27" optional = true default-features = false [dependencies.opentelemetry-stdout] version = "0.27" features = ["trace"] optional = true [dependencies.opentelemetry-zipkin] version = "0.27" features = [] optional = true default-features = false [dependencies.opentelemetry_sdk] version = "0.27" features = ["rt-tokio"] default-features = false [dependencies.thiserror] version = "1.0" [dependencies.tonic] version = "0.12" features = ["tls"] optional = true default-features = false [dependencies.tracing] version = "0.1" [dependencies.tracing-logfmt] version = "0.3" optional = true [dependencies.tracing-opentelemetry] version = "0.28" [dependencies.tracing-subscriber] version = "0.3" features = [ "ansi", "env-filter", "fmt", "json", ] optional = true default-features = false [dev-dependencies.assert2] version = "0.3" [dev-dependencies.opentelemetry_sdk] version = "0.27" features = [ "rt-tokio", "trace", "rt-tokio", "testing", ] default-features = false [dev-dependencies.rstest] version = "0.23" [dev-dependencies.serde] version = "1.0.136" features = ["derive"] [dev-dependencies.serde_json] version = "1.0.79" [dev-dependencies.tokio-stream] version = "0.1" features = ["net"] [dev-dependencies.tracing-subscriber] version = "0.3" features = [ "env-filter", "fmt", "json", ] default-features = false [features] jaeger = ["dep:opentelemetry-jaeger-propagator"] logfmt = ["dep:tracing-logfmt"] otlp = [ "opentelemetry-otlp/http-proto", "opentelemetry-otlp/reqwest-client", "opentelemetry-otlp/reqwest-rustls", "tracer", ] stdout = [ "dep:opentelemetry-stdout", "tracer", ] tls = [ "tonic/tls", "opentelemetry-otlp/tls", "opentelemetry-otlp/tls-roots", ] tracer = ["dep:opentelemetry-semantic-conventions"] tracing_subscriber_ext = [ "dep:tracing-subscriber", "otlp", ] xray = ["dep:opentelemetry-aws"] zipkin = ["dep:opentelemetry-zipkin"]