# 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 = "telemetry-rust" version = "3.5.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Open Telemetry fox Axum and Tracing" readme = "README.md" license = "MIT" [package.metadata.release] allow-branch = ["main"] publish = false [profile.dev] opt-level = 0 lto = false split-debuginfo = "unpacked" overflow-checks = false [profile.release] opt-level = "s" lto = true codegen-units = 1 incremental = false [lib] name = "telemetry_rust" path = "src/lib.rs" [dependencies.aws-types] version = "1" optional = true [dependencies.axum] version = "0.7.5" optional = true [dependencies.futures-util] version = "0.3" features = [] optional = true default-features = false [dependencies.http] version = "1.1.0" [dependencies.http-body-util] version = "0.1.1" optional = true [dependencies.hyper] version = "1.3" features = [ "http1", "client", ] default-features = false package = "hyper" [dependencies.hyper-util] version = "0.1.9" [dependencies.lambda_runtime] version = "0" optional = true [dependencies.opentelemetry] version = "0.26" features = ["trace"] default-features = false [dependencies.opentelemetry-http] version = "0.26" features = ["hyper"] [dependencies.opentelemetry-otlp] version = "0.26" features = ["http-proto"] [dependencies.opentelemetry-semantic-conventions] version = "0.26" features = ["semconv_experimental"] [dependencies.opentelemetry-zipkin] version = "0.26" features = [] optional = true [dependencies.opentelemetry_api] version = "0.20.0" features = ["testing"] optional = true [dependencies.opentelemetry_sdk] version = "0.26" features = ["rt-tokio"] default-features = false [dependencies.paste] version = "1.0.14" optional = true [dependencies.pin-project-lite] version = "0.2" optional = true [dependencies.rand] version = "0.8.5" optional = true [dependencies.serde] version = "1.0.200" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0.116" optional = true [dependencies.tower] version = "0.4" optional = true [dependencies.tracing] version = "0.1.40" default-features = false [dependencies.tracing-opentelemetry] version = "0.27" [dependencies.tracing-opentelemetry-instrumentation-sdk] version = "0.23" features = ["http"] [dependencies.tracing-subscriber] version = "0.3.18" features = [ "env-filter", "fmt", "json", "ansi", ] default-features = false [dev-dependencies.assert2] version = "0.3" [dev-dependencies.rstest] version = "0.23" [dev-dependencies.tokio] version = "1.41" [features] aws = [ "aws-span", "aws-instrumentation", ] aws-full = [ "aws", "aws-lambda", ] aws-instrumentation = ["future"] aws-lambda = [ "dep:tower", "dep:lambda_runtime", "future", ] aws-span = [ "dep:aws-types", "dep:paste", ] axum = [ "dep:axum", "dep:tower", "dep:futures-util", "dep:pin-project-lite", ] default = ["zipkin"] full = [ "aws-full", "test", ] future = ["dep:pin-project-lite"] test = [ "axum", "dep:serde", "dep:serde_json", "dep:opentelemetry_api", "dep:rand", "dep:http-body-util", ] zipkin = ["dep:opentelemetry-zipkin"]