[dependencies.aws-types]
optional = true
version = "1"
[dependencies.bytes]
optional = true
version = "1.10.1"
[dependencies.futures-util]
default-features = false
features = []
optional = true
version = "0.3"
[dependencies.http]
version = "1.1.0"
[dependencies.http-body-util]
optional = true
version = "0.1.1"
[dependencies.hyper]
default-features = false
optional = true
package = "hyper"
version = "1.3"
[dependencies.lambda_runtime]
optional = true
version = "0"
[dependencies.opentelemetry]
default-features = false
features = ["trace"]
version = "0.30"
[dependencies.opentelemetry-http]
version = "0.30"
[dependencies.opentelemetry-otlp]
features = ["http-proto", "grpc-tonic"]
version = "0.30"
[dependencies.opentelemetry-semantic-conventions]
features = ["semconv_experimental"]
version = "0.30"
[dependencies.opentelemetry-zipkin]
features = []
optional = true
version = "0.30"
[dependencies.opentelemetry_api]
features = ["testing"]
optional = true
version = "0.20.0"
[dependencies.opentelemetry_sdk]
default-features = false
features = ["rt-tokio"]
version = "0.30"
[dependencies.paste]
optional = true
version = "1.0.14"
[dependencies.pin-project-lite]
optional = true
version = "0.2"
[dependencies.rand]
optional = true
version = "0.9.0"
[dependencies.serde]
features = ["derive"]
version = "1.0.200"
[dependencies.serde_json]
version = "1.0.116"
[dependencies.thiserror]
version = "2.0.12"
[dependencies.tower]
optional = true
version = "0.5"
[dependencies.tracing]
default-features = false
version = "0.1.40"
[dependencies.tracing-opentelemetry]
version = "0.31"
[dependencies.tracing-opentelemetry-instrumentation-sdk]
features = ["http"]
version = "0.29"
[dependencies.tracing-serde]
version = "0.2.0"
[dependencies.tracing-subscriber]
default-features = false
features = ["env-filter", "fmt", "json", "ansi"]
version = "0.3.18"
[dev-dependencies.assert2]
version = "0.3"
[dev-dependencies.aws-config]
features = ["behavior-version-latest"]
version = "1.5.13"
[dev-dependencies.aws-sdk-dynamodb]
version = "1.58.0"
[dev-dependencies.axum]
version = "0.8.0"
[dev-dependencies.rstest]
version = "0.25"
[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:tower", "dep:futures-util", "dep:pin-project-lite"]
default = ["zipkin"]
full = ["aws-full", "axum", "test"]
future = ["dep:pin-project-lite"]
test = ["dep:bytes", "dep:opentelemetry_api", "dep:rand", "dep:http-body-util", "dep:hyper"]
zipkin = ["dep:opentelemetry-zipkin"]
[lib]
name = "telemetry_rust"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Open Telemetry fox Axum and Tracing"
edition = "2024"
license = "MIT"
name = "telemetry-rust"
readme = "README.md"
repository = "https://github.com/nentgroup/telemetry-rust"
version = "5.1.0-docs.3"
[package.metadata.docs.rs]
all-features = true
[package.metadata.release]
allow-branch = ["main"]
publish = false
[profile.dev]
lto = false
opt-level = 0
overflow-checks = false
split-debuginfo = "unpacked"
[profile.release]
codegen-units = 1
incremental = false
lto = true
opt-level = "s"