Skip to content

Hyper 1.0 support #1325

@davidpdrsn

Description

@davidpdrsn

Hyper is aiming to ship 1.0 this year and in the process making a lot of changes to the public API which will impact axum. We can discuss the changes here.

Off the top of my head the biggest changes will probably be

  • Hyper dropping tower::Service support since tower-service wont be 1.0 in time.
  • Moving hyper::Server into hyper-util. I don't think we should have a public dependency on hyper-util since breaking releases would cascade into axum.
  • Removing hyper::Body (or possibly moving it into hyper-util). I think we should consider giving axum-core its own body type. Relevant to Middleware that change the request body have poor usability #1110

I haven't thought much about this yet but once 0.6.0 is out we start that work.

Relevant links

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-axumA-axum-coreE-hardCall for participation: Experience needed to fix: Hard / a lotS-blockedStatus: marked as blocked ❌ on something else such as a PR or other implementation work.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions