-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RUST-1220 Bump outdated dependencies #596
RUST-1220 Bump outdated dependencies #596
Conversation
32764ac
to
34a06e3
Compare
81cdf0c
to
367c47c
Compare
@@ -146,11 +145,24 @@ fn make_rustls_config(cfg: TlsOptions) -> Result<rustls::ClientConfig> { | |||
} | |||
}; | |||
|
|||
ClientConfig::builder() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ClientConfig
was made mostly opaque in favor of a builder, documentation here. This branch calls with_single_cert
on the builder which corresponds to the set_single_client_cert
method we were calling on the config previously. The else
branch uses the defaults suggested in the docs, which are also in line with the now-removed new
function we were calling previously.
trust-dns-proto = "0.20.0" | ||
trust-dns-resolver = "0.20.0" | ||
typed-builder = "0.9.0" | ||
trust-dns-proto = "0.21.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ended up needing to bump these rather than waiting for #591 because the older versions were incompatible with the new version of async-std-resolver
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Bumps all of our outdated dependencies (excluding the few that are covered in #591). Also increases the MSRV to 1.51.0 (new MSRV for
pbkdf2
). The most significant breaking changes were due to updates in rustls; you can reference the changelog here.