Skip to content

Expose Service and HttpService without features #3590

Closed
@tottoto

Description

@tottoto

I would suppose that hyper-util would be good to allow users to enable http1 or/and http2 feature separately when using server-auto feature (although it is a breaking change). As hyper-util uses Service and HttpService to implement server-auto feature, these traits are required without http{1,2} features. Since these traits do not actually require optional dependencies, the drawback to expose them seems small comparing the benefit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-featureCategory: feature. This is adding a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions