Skip to content

neither hyper 1.0 upgrade guide nor the changelog explains how to upgrade usage of Server to 1.0 #3560

Closed
@rukai

Description

@rukai

I have looked through the following:

None of these fully explain how to write the equivalent of a 0.14 Server with hyper 1.0
The 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: documentation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions