Default cryptography provider changed to aws-lc-rs to match upstream Rustls project. Note that this has some implications on platform support and build-time tool requirements such as cmake on all platforms and nasm on Windows.
Support for ring continues to be available: set the ring crate feature.
Added
New with_platform_verifier connector builder fns for using rustls-platform-verifier for certificate verification. Requires the optional rustls-platform-verifier feature be enabled.
New HttpsConnector::builder fn for conveniently constructing a ConnectorBuilder.
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.
You can trigger a rebase of this PR 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)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
A newer version of hyper-rustls exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.
Bumps hyper-rustls from 0.23.2 to 0.27.0.
Release notes
Sourced from hyper-rustls's releases.
... (truncated)
Commits
0d38794
Cargo: version 0.26.0 -> 0.27.0c9e25c4
ci: add ring build to test phase731d19e
Cargo: update Rustls & associated crates to 0.23ccd5ec1
examples: fix redundant Vec import4030f86
feat: add a builder() method to HttpsConnector68c7d05
Cargo.toml: add aws-lc-rs feature as crypto backend3582863
Add built-in support for rustls-platform-verifier9bb9d59
Bump MSRV to 1.64 for rustls-platform-verifierad93d22
Bump version to 0.26.0e19a299
Update hyper to 1.x and integrate with hyper-utilYou can trigger a rebase of this PR 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