camallo / dkregistry-rs

A pure-Rust asynchronous library for Docker Registry API v2
Apache License 2.0
62 stars 39 forks source link

build(deps): update http requirement from 0.1 to 0.2 #126

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Updates the requirements on http to permit the latest version.

Release notes *Sourced from [http's releases](https://github.com/hyperium/http/releases).* > ## v0.2.0 > * Add `Version::HTTP_3` constant. > * Add `HeaderValue::from_maybe_shared`, `HeaderValue::from_maybe_shared_unchecked`, `Uri::from_maybe_shared`, `Authority::from_maybe_shared`, and `PathAndQuery::from_maybe_shared`. > * Change `request::Builder`, `response::Builder`, and `uri::Builder` to use by-value methods instead of by-ref. > * Change from `HttpTryFrom` trait to `std::convert::TryFrom`. > * Change `HeaderMap::entry` to no longer return a `Result`. > * Change `HeaderMap::drain` iterator to match the behavior of `IntoIter`. > * Change `Authority::port` to return an `Option` instead of `Option`. > * Change `Uri::scheme` to return `Option<&Scheme>` instead of `Option<&str>`. > * Change `Uri::authority` to return `Option<&Authority>` instead of `Option<&str>`. > * Remove `InvalidUriBytes`, `InvalidHeaderNameBytes`, and `InvalidHeaderValueBytes` error types. > * Remove `HeaderValue::from_shared`, `HeaderValue::from_shared_unchecked`, `Uri::from_shared`, `Authority::from_shared`, `Scheme::from_shared`, and `PathAndQuery::from_shared`. > * Remove `Authority::port_part`. > * Remove `Uri::scheme_part` and `Uri::authority_part`.
Changelog *Sourced from [http's changelog](https://github.com/hyperium/http/blob/master/CHANGELOG.md).* > # 0.2.0 (December 2, 2019) > > * Add `Version::HTTP_3` constant. > * Add `HeaderValue::from_maybe_shared`, `HeaderValue::from_maybe_shared_unchecked`, `Uri::from_maybe_shared`, `Authority::from_maybe_shared`, and `PathAndQuery::from_maybe_shared`. > * Change `request::Builder`, `response::Builder`, and `uri::Builder` to use by-value methods instead of by-ref. > * Change from `HttpTryFrom` trait to `std::convert::TryFrom`. > * Change `HeaderMap::entry` to no longer return a `Result`. > * Change `HeaderMap::drain` iterator to match the behavior of `IntoIter`. > * Change `Authority::port` to return an `Option` instead of `Option`. > * Change `Uri::scheme` to return `Option<&Scheme>` instead of `Option<&str>`. > * Change `Uri::authority` to return `Option<&Authority>` instead of `Option<&str>`. > * Remove `InvalidUriBytes`, `InvalidHeaderNameBytes`, and `InvalidHeaderValueBytes` error types. > * Remove `HeaderValue::from_shared`, `HeaderValue::from_shared_unchecked`, `Uri::from_shared`, `Authority::from_shared`, `Scheme::from_shared`, and `PathAndQuery::from_shared`. > * Remove `Authority::port_part`. > * Remove `Uri::scheme_part` and `Uri::authority_part`. > > # 0.1.20 (November 26, 2019) > > * Fix possible double-free if `header::Drain` iterator is `std::mem::forgot`en ([#357](https://github-redirect.dependabot.com/hyperium/http/issues/357)). > * Fix possible data race if multiple `header::ValueDrain`s are iterated on different threads ([#362](https://github-redirect.dependabot.com/hyperium/http/issues/362)). > * Fix `HeaderMap::reserve` capacity overflows ([#360](https://github-redirect.dependabot.com/hyperium/http/issues/360)). > * Fix parsing long authority-form `Uri`s ([#351](https://github-redirect.dependabot.com/hyperium/http/issues/351)). > > # 0.1.19 (October 15, 2019) > > * Allow `%` in IPv6 addresses in `Uri` ([#343](https://github-redirect.dependabot.com/hyperium/http/issues/343)). > > # 0.1.18 (July 26, 2019) > > * Fix compilation of `HeaderName` parsing on WASM targets ([#324](https://github-redirect.dependabot.com/hyperium/http/issues/324)). > * Implement `HttpTryFrom` for `HeaderMap` ([#326](https://github-redirect.dependabot.com/hyperium/http/issues/326)). > * Export `http::header::HeaderValue` as `http::HeaderValue`. > > # 0.1.17 (April 5, 2019) > > * Add `Error::inner_ref()` to view the kind of error ([#303](https://github-redirect.dependabot.com/hyperium/http/issues/303)) > * Add `headers_ref()` and `headers_mut()` methods to `request::Builder` and `response::Builder` ([#293](https://github-redirect.dependabot.com/hyperium/http/issues/293)) > > # 0.1.16 (February 19, 2019) > > * Fix `Uri` to permit more characters in the `path` ([#296](https://github-redirect.dependabot.com/hyperium/http/issues/296)) > > # 0.1.15 (January 22, 2019) > > * Fix `Uri::host()` to include brackets of IPv6 literals ([#292](https://github-redirect.dependabot.com/hyperium/http/issues/292)) > * Add `scheme_str` and `port_u16` methods to `Uri` ([#287](https://github-redirect.dependabot.com/hyperium/http/issues/287)) > * Add `method_ref`, `uri_ref`, and `headers_ref` to `request::Builder` ([#284](https://github-redirect.dependabot.com/hyperium/http/issues/284)) > > # 0.1.14 (November 21, 2018) > > ... (truncated)
Commits - [`76ad0e3`](https://github.com/hyperium/http/commit/76ad0e38e5abc0bbc18153d32c86395358264aad) v0.2.0 - [`cb67c17`](https://github.com/hyperium/http/commit/cb67c175d524e17dc2d34ba797fb6a50c2031fbf) Add `from_maybe_shared` constructors - [`db9b1b9`](https://github.com/hyperium/http/commit/db9b1b9a76ce9c0b366fc6fff433ca4ca00571d1) remove error type variants suffixed with `Bytes` - [`4ce5e6a`](https://github.com/hyperium/http/commit/4ce5e6a3a33c6548f885972db6f23450be18e133) Make all usage of `Bytes` private - [`0591bba`](https://github.com/hyperium/http/commit/0591bbac85f06fb3c2e5d0aad97f0a26b8f85fb3) Fix Method::is_idempotent - [`c89cfc9`](https://github.com/hyperium/http/commit/c89cfc984c851fc6fe5f98902b44ef830968f7c5) Change HeaderMap::drain API to match into_iter instead - [`6c2b789`](https://github.com/hyperium/http/commit/6c2b7897efb7030b5238ba297c89f67cf639de79) Revert "Make ValueDrain eagerly collect its extra values" - [`43dffa1`](https://github.com/hyperium/http/commit/43dffa1eb79f6801e5e07f3338fa56191dc454bb) Upgrade to bytes 0.5 - [`22448cd`](https://github.com/hyperium/http/commit/22448cd3f278e44e60b417fb8ae2439d28bfd519) Switch HttpTryFrom to TryFrom. - [`9d8058a`](https://github.com/hyperium/http/commit/9d8058aafb234d0835b52d3dfd1304707bfd5f41) update rand and quickcheck dev deps with usage changes - Additional commits viewable in [compare view](https://github.com/hyperium/http/compare/v0.1.0...v0.2.0)


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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will 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 version` will 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 dependency` will 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 labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will 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](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 4 years ago

Looks like http is up-to-date now, so this is no longer needed.