We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6154d55 commit ae0ba91Copy full SHA for ae0ba91
_stable/upgrading.md
@@ -63,6 +63,12 @@ use the [`server::conn::auto::Builder`][auto] from [`hyper-util`][].
63
64
The listening server acceptor can be replaced with a simple loop.
65
66
+## `Service`/`service_fn`
67
+
68
+Previously, hyper depended on `tower` for the `Service` trait. Because
69
+`tower` is not yet 1.0, hyper could not publicly depend on it. So, it's
70
+`Service` trait and the helper function `service_fn` are defined in
71
+`hyper::service`.
72
73
[changelog]: https://github.com/hyperium/hyper/blob/master/CHANGELOG.md#v100-2023-11-15
74
[`hyper-util`]: https://crates.io/crates/hyper-util
0 commit comments