Skip to content

Commit

Permalink
ref(server): Remove vendored sentry_tower dependency (#4478)
Browse files Browse the repository at this point in the history
It's no longer necessary to vendor `sentry-tower`, it was initially done
to smooth the transition to latest axum and hyper versions.

To [quote the
commit](4e025ce#diff-f8b4a828e3cbee31623b5c68f802c838595d2738afc253c80fa59f2c85b2d50d)
which introduced it:

> This will be removed once `axum` is upgraded to latest.
  • Loading branch information
Dav1dde authored Jan 29, 2025
1 parent c81ede2 commit 7a366a8
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 373 deletions.
50 changes: 33 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,11 @@ regex = "1.11.1"
regex-lite = "0.1.6"
reqwest = "0.12.9"
rmp-serde = "1.3.0"
sentry = "0.34.0"
sentry-core = "0.34.0"
sentry = "0.36.0"
sentry-core = "0.36.0"
sentry-kafka-schemas = { version = "0.1.122", default-features = false }
sentry-release-parser = { version = "1.3.2", default-features = false }
sentry-types = "0.34.0"
sentry-types = "0.36.0"
semver = "1.0.23"
serde = { version = "1.0.215", features = ["derive", "rc"] }
serde-transcode = "1.1.1"
Expand Down
1 change: 1 addition & 0 deletions relay-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ reqwest = { workspace = true, features = [
"native-tls-vendored",
] }
rmp-serde = { workspace = true }
sentry = { workspace = true, features = ["tower-http"] }
serde = { workspace = true }
serde_bytes = { workspace = true }
serde_json = { workspace = true }
Expand Down
2 changes: 0 additions & 2 deletions relay-server/src/middlewares/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ mod decompression;
mod handle_panic;
mod metrics;
mod normalize_path;
mod sentry_tower;
mod trace;

mod body_timing;
Expand All @@ -23,5 +22,4 @@ pub use self::decompression::*;
pub use self::handle_panic::*;
pub use self::metrics::*;
pub use self::normalize_path::*;
pub use self::sentry_tower::*;
pub use self::trace::*;
Loading

0 comments on commit 7a366a8

Please sign in to comment.