[package]
name = "sentry-tower"
version = "0.34.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/getsentry/sentry-rust"
homepage = "https://sentry.io/welcome/"
description = """
Sentry integration for tower-based crates.
"""
edition = "2021"
rust-version = "1.73"
[package.metadata.docs.rs]
all-features = true
[features]
http = ["dep:http", "pin-project", "url"]
axum-matched-path = ["http", "axum/matched-path"]
[dependencies]
axum = { version = "0.7", optional = true, default-features = false }
tower-layer = "0.3"
tower-service = "0.3"
http = { version = "1.0.0", optional = true }
pin-project = { version = "1.0.10", optional = true }
sentry-core = { version = "0.34.0", path = "../sentry-core", default-features = false, features = [
"client",
] }
url = { version = "2.2.2", optional = true }
[dev-dependencies]
anyhow = "1"
prost = "0.12.3"
sentry = { path = "../sentry", default-features = false, features = ["test"] }
sentry-anyhow = { path = "../sentry-anyhow" }
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
tonic = { version = "0.11", features = ["transport"] }
tower = { version = "0.4", features = ["util", "timeout"] }