Update hyper requirement from 0.11 to 0.14
Updates the requirements on hyper to permit the latest version.
Changelog
Sourced from hyper's changelog.
v0.14.1 (2020-12-23)
- Fixes building documentation.
v0.14.0 (2020-12-23)
Bug Fixes
Features
- client:
- http1: Make HTTP/1 support an optional feature (2a19ab74)
- http2: Make HTTP/2 support an optional feature (b819b428)
- lib:
- server: Make the
servercode an optional feature (#2334) (bdb5e5d6)- upgrade: Moved HTTP upgrades off
Bodyto a new API (#2337) (121c3313, closes #2086)Breaking Changes
hyper depends on
tokiov1 andbytesv1.Custom resolvers used with
HttpConnectormust change to resolving to an iterator ofSocketAddrs instead ofIpAddrs. (b4e24332)hyper no longer emits
logrecords automatically. If you need hyper to integrate with aloglogger (as opposed totracing), you can addtracing = { version = "0.1", features = ["log"] }to activate them. (db32e105)Removed
http1_writevmethods fromclient::Builder,client::conn::Builder,server::Builder, andserver::conn::Builder.Vectored writes are now enabled based on whether the
AsyncWriteimplementation in use supports them, rather than though adaptive detection. To explicitly disable vectored writes, users may wrap the IO in a newtype that implementsAsyncReadandAsyncWriteand returnsfalsefrom itsAsyncWrite::is_write_vectoredmethod. (d6aadb83)
Commits
3d6bdbev0.14.1c97a106docs(lib): enable doc_cfg on docs.rs builds (#2372)c784a10v0.14.0fad42acfeat(lib): Upgrade to Tokio 1.0 (#2369)dad5c87fix(client): log socket option errors instead of returning error (#2361)3b3077drefactor(http1): updated Encoder/Decoder match with the matches macro (#2368)6c593c2refactor(error): usematches!macro inError::is_*methods (#2367)1dd761cfix(http1): ignore chunked trailers (#2357)ede3a6brefactor(http1): move upgrade state from body to head (#2353)7d9a580refactor(http1): change HTTP2->1.1 warning to debug (#2354)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language -
@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)