Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Hyper 1.x #1090

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

urkle
Copy link
Contributor

@urkle urkle commented Jan 31, 2024

Phase 1: ( https://hyper.rs/guides/1/upgrading/ )

  • enable backport and deprecated features on hyper
  • update code from deprecated recommendations

Phase 2: update to hyper 1.x

update crates

  • hyper 1.1
  • http 1.0
  • multer 3.0
  • headers 0.4.0

add crates

  • hyper-util 0.1.2
  • http-body 1
  • http-body-util 0.1.0

Issues so far in phase 2

  • Incoming::empty() is private
  • AsyncRead not implemented for hyper::upgrade::Upgraded
  • Incoming::wrap_stream() removed!
  • make_service_fn removed
  • hyper::Server removed (along w/ builder)
  • no hyper::server::conn::AddrStream
  • no hyper::server::conn::AddrIncoming
  • switch Client to hyper_util?

- enable backport and deprecated features on hyper
- update code from deprecated recommendations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant