Skip to content

Commit 44a3d7f

Browse files
vsilesVincent Siles
andauthored
chore: relax version constraint on tower-http (#165)
twurst only uses `tower_http::auth::{AddAuthorization, AddAuthorizationLayer}` and `tower_http::cors::{CorsLayer, Any}`. The 0.7.0 breaking changes affect `compression`, `follow-redirect`, `trace/classify` (gRPC), `services` (trailing-slash files), and removed no-op features (`tokio, async-compression`) — none touch the auth or cors APIs used here. Verified: - `cargo clippy --workspace --all-targets` clean with tower-http 0.6.11 - `cargo clippy --workspace --all-targets` clean with tower-http 0.7.0 (picked automatically as latest) Co-authored-by: Vincent Siles <vincent.siles@helsing.ai>
1 parent 677664c commit 44a3d7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ tonic-prost = "0.14"
4646
tonic-prost-build = "0.14"
4747
tower-service = "0.3.3"
4848
tower = "0.5.3"
49-
tower-http = "0.7.0"
49+
tower-http = ">=0.6.11, <0.8"
5050
tracing = "0.1.44"
5151
trait-variant = "0.1.2"
5252
twurst-error = { path = "error", version = "0.3.0" }

0 commit comments

Comments
 (0)