The hyper crate dependency has been updated to 1.0. hyper-rustls now uses the new hyper-util crate to replace functionality removed from hyper.
The Acceptor API has been removed and relevant examples updated. Hyper 1.0 has library consumers handle binding sockets and accepting connections themselves, removing the need for the Acceptor API. See examples/server.rs for an up to date example for accepting connections.
The tokio-runtime feature has been removed - hyper-rustls depends on hyper-util, and the tokio feature in hyper-util is required for the necessary IO adapter traits. Tokio was already a hard dependency of this crate.
The TlsStream type now has io and connection accessor methods for getting a reference to the underlying I/O stream and rustls::ServerConnection.
A new AcceptorBuilder::with_connector method is added for taking a generic acceptor implementing Accept.
ConnectorBuilder::enable_all_versions has been fixed to advertise the correct ALPN values based on enabled crate features.
ConnectorBuilder::with_native_roots has been updated to be fallible, allowing a failure to load native roots to be handled by the caller instead of producing a panic.
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)
Bumps hyper-rustls from 0.23.2 to 0.26.0.
Release notes
Sourced from hyper-rustls's releases.
... (truncated)
Commits
ad93d22
Bump version to 0.26.0e19a299
Update hyper to 1.x and integrate with hyper-utildef00ca
Inline some single-use bindingsa6ee2fe
Reduce rightward drift by handling simple schemesb8d0c2f
Inline expressions in Connector HTTP scheme handling6437122
Invert Connector scheme matching to reduce rightward drift5650a59
Clean up imports281a1bc
Re-order impls for HttpsConnector3883ec9
Cargo: version 0.25.0-alpha.0 -> 0.252d6e1c3
Cargo: update to rustls 0.22Dependabot 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