Upgrade http crate to 1.0, fix examples #28
Merged
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.
While testing to get
dav-server-rs
working with a recentaxum
release, @themasch encountered some problems becauseaxum
was using[email protected]
, while dav-server-rs was still based on[email protected]
.Since the 1.0 release of
http
brings some stability and backward compatibility promises, @themasch figured it might be worth updating to the new release so this library is ready to be used with recent releases of all the frameworks building onhttp
.@themasch fixed up the
hyper
examples (the latesthyper
release dropped some QoL features which bloats the example a bit).I've fixed the
actix
andwarp
examples by adding some compatibility code while they remain on older versions ofhyper
andhttp
. Upgrade issues:actix
warp