Skip to content

Commit d9c88f9

Browse files
authored
chore: bump tower (#1162)
1 parent 14a546d commit d9c88f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

poem/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ async-compression = { version = "0.4.0", optional = true, features = [
115115
"deflate",
116116
"zstd",
117117
] }
118-
tower = { version = "0.4.8", optional = true, default-features = false, features = [
118+
tower = { version = "0.5.3", optional = true, default-features = false, features = [
119119
"util",
120120
"buffer",
121121
] }

poem/src/middleware/tower_compat.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ where
7979
}
8080

8181
/// An tower service to endpoint adapter.
82-
pub struct TowerServiceToEndpoint<Svc: Service<Request>>(Buffer<Svc, Request>);
82+
pub struct TowerServiceToEndpoint<Svc: Service<Request>>(Buffer<Request, Svc::Future>);
8383

8484
impl<Svc> Endpoint for TowerServiceToEndpoint<Svc>
8585
where

0 commit comments

Comments
 (0)