# 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 = "spring-opentelemetry" version = "0.2.1" authors = ["holmofy"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Integration of spring-rs framework and open-telemetry" readme = "README.md" license = "MIT" repository = "https://github.com/spring-rs/spring-rs" [lib] name = "spring_opentelemetry" path = "src/lib.rs" [dependencies.anyhow] version = "1.0" [dependencies.axum] version = "0.7.5" [dependencies.futures-util] version = "0.3" [dependencies.http] version = "1" [dependencies.opentelemetry] version = "0.26" [dependencies.opentelemetry-appender-tracing] version = "0.26" [dependencies.opentelemetry-http] version = "0.26" [dependencies.opentelemetry-jaeger-propagator] version = "0.26" optional = true [dependencies.opentelemetry-otlp] version = "0.26" features = ["serialize"] [dependencies.opentelemetry-resource-detectors] version = "0.5" optional = true [dependencies.opentelemetry-semantic-conventions] version = "0.26" features = ["semconv_experimental"] [dependencies.opentelemetry-zipkin] version = "0.26" optional = true [dependencies.opentelemetry_sdk] version = "0.26" features = ["rt-tokio"] [dependencies.pin-project] version = "1" [dependencies.schemars] version = "0.8.21" [dependencies.serde] version = "1.0" [dependencies.spring] version = "0.2" [dependencies.tonic] version = "0.12" [dependencies.tower] version = "0.5" [dependencies.tracing] version = "0.1.40" features = ["log"] [dependencies.tracing-opentelemetry] version = "0.27" [dependencies.tracing-subscriber] version = "0.3.18" [dev-dependencies] [features] jaeger = ["opentelemetry-jaeger-propagator"] more-resource = ["opentelemetry-resource-detectors"] zipkin = ["opentelemetry-zipkin"]