Closed davidpdrsn closed 1 year ago
It should be possible when the PR is merged.
Looks like that got merged. Is this something we can do now? Can I help in any way?
Great! I'm curious if we can just replace the implementation of axum::serve
to instead be a small wrapper around something in hyper-util. That was always the intention. Would be much appreciated if you'd give that a shot!
@rustbot claim
No rustbot? Lol okay. Force of habit I guess
axum::Server
was a re-export ofhyper::Server
which is going away for hyper 1.0. Therefore axum is gettingaxum::serve(tcp_listener, service)
in 0.7 for simple use cases.It currently only supports http 1. We should investigate if we can also support http 2. Might require https://github.com/hyperium/hyper-util/pull/11