fix(deps): apply updates for hyper v1 #853
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@ravenclaw900 I merged
hyper
andflexible-hyper-server-tls
here, as well as my draft for needed code changes.The hyper module structure has changed a little, and I should be able to fix/add all needed imports, but code-wise likely not, especially now that I see
routes.rs
needs to be updated as well.to_bytes
has been removed: https://github.com/hyperium/hyper/blob/0eb1b6c/CHANGELOG.md?plain=1#L298Body
structure has been removedconn
was previously defined asconn: &flexible_hyper_server_tls::HttpOrHttpsConnection
TheStill needed, can be done just like before.loop
at the bottom ofmain.rs
is not required anymore, right?