neither hyper 1.0 upgrade guide nor the changelog explains how to upgrade usage of Server
to 1.0
#3560
Labels
A-docs
Area: documentation.
Server
to 1.0
#3560
I have looked through the following:
None of these fully explain how to write the equivalent of a 0.14
Server
with hyper 1.0The upgrading guide points us towards https://docs.rs/hyper-util/latest/hyper_util/server/conn/auto/struct.Builder.html but then its not clear how to actually use that.
I suspect the best solution here would be to just add a
Server
example to hyper-util examples directory? Currently there is only a client example.For reference our usage of hyper is just to provide a very simple interface for accessing and configuring metrics of a service:
https://github.com/shotover/shotover-proxy/blob/0e8c2b00566616387d2f79d7f48dcdc59660785d/shotover/src/observability/mod.rs#L60-L112
The text was updated successfully, but these errors were encountered: