tomusdrw / rust-web3

Ethereum JSON-RPC multi-transport client. Rust implementation of web3 library. ENS address: rust-web3.eth
MIT License
1.46k stars 470 forks source link

Update hyper requirement from 0.14 to 1.0 #709

Closed dependabot[bot] closed 11 months ago

dependabot[bot] commented 1 year ago

Updates the requirements on hyper to permit the latest version.

Release notes

Sourced from hyper's releases.

v1.0.0

Features

  • client: allow !Send IO with HTTP/1 client (#3371) (cf87eda8, closes #3363)
  • error:
  • ext:
    • make ReasonPhrase::from_static a const fn (d4a61e3d)
    • remove ReasonPhrase::from_bytes_unchecked() method (4021c57b)
  • lib:
  • rt: rename to Http2ClientConnExec and Http2ServerConnExec (52b27faa)
  • server: default http1 header_read_timeout to 30 seconds (8bf26d1e)
  • upgrade: introduce tracing as an optional unstable feature (#3326) (da3fc76c, closes #3319)

Bug Fixes

Breaking Changes

  • Upgrade to http 1.0.

(899e92a5)

  • (From previous RCs) ExecutorClient is renamed to Http2ClientConnExec, and Http2ConnExec is renamed to Http2ServerConnExec.

(52b27faa)

  • If you use client HTTP/1 upgrades, you must call Connection::with_upgrades() to still work the same. (cf87eda8)
  • HTTP/2 server builder now has a default max concurrent streams. This is a behavior change. Consider setting your own maximum. (dd638b5b)
  • Do not build any logic depending on the exact types of an Error::source(). They are only for debugging. (502a6450)

... (truncated)

Changelog

Sourced from hyper's changelog.

v1.0.0 (2023-11-15)

Bug Fixes

Features

  • client: allow !Send IO with HTTP/1 client (#3371) (cf87eda8, closes #3363)
  • error:
  • ext:
    • make ReasonPhrase::from_static a const fn (d4a61e3d)
    • remove ReasonPhrase::from_bytes_unchecked() method (4021c57b)
  • lib:
  • rt: rename to Http2ClientConnExec and Http2ServerConnExec (52b27faa)
  • server: default http1 header_read_timeout to 30 seconds (8bf26d1e)
  • upgrade: introduce tracing as an optional unstable feature (#3326) (da3fc76c, closes #3319)

Breaking Changes

  • Upgrade to http 1.0.

(899e92a5)

  • (From previous RCs) ExecutorClient is renamed to Http2ClientConnExec, and Http2ConnExec is renamed to Http2ServerConnExec.

(52b27faa)

  • If you use client HTTP/1 upgrades, you must call Connection::with_upgrades() to still work the same. (cf87eda8)
  • HTTP/2 server builder now has a default max concurrent streams. This is a behavior change. Consider setting your own maximum. (dd638b5b)

... (truncated)

Commits
  • 6f76f20 v1.0.0
  • 899e92a feat(lib): update to http 1.0
  • 6fd696e test(upgrade): fix compilation in Upgrade tests without features (#3403)
  • c22fc07 docs(body): add example to body::Incoming (#3383)
  • 52b27fa feat(rt): rename to Http2ClientConnExec and Http2ServerConnExec
  • 8bf26d1 feat(server): default http1 header_read_timeout to 30 seconds
  • f3308c0 feat(lib): missing Timer will warn or panic
  • 837c277 docs(contributing.md): add a comment to make good use of rust-analyzer (#3388)
  • 5571711 docs(client): add example links (#3385)
  • 776e8de docs(server): add conn::http1::Builder example (#3390)
  • 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 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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[bot] commented 11 months ago

Superseded by #714.