Skip to content

Commit 8118266

Browse files
authored
build(deps): bump lettre from 0.11.15 to 0.11.18 (element-hq#4836)
2 parents 956da07 + f377c87 commit 8118266

File tree

4 files changed

+34
-98
lines changed

4 files changed

+34
-98
lines changed

Cargo.lock

Lines changed: 14 additions & 91 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -353,10 +353,12 @@ features = ["serde"]
353353

354354
# Email sending
355355
[workspace.dependencies.lettre]
356-
version = "0.11.15"
356+
version = "0.11.18"
357357
default-features = false
358358
features = [
359-
"tokio1-rustls-tls",
359+
"tokio1-rustls",
360+
"rustls-platform-verifier",
361+
"aws-lc-rs",
360362
"hostname",
361363
"builder",
362364
"tracing",
@@ -499,7 +501,13 @@ version = "1.11.1"
499501
[workspace.dependencies.reqwest]
500502
version = "0.12.22"
501503
default-features = false
502-
features = ["http2", "rustls-tls-manual-roots", "charset", "json", "socks"]
504+
features = [
505+
"http2",
506+
"rustls-tls-manual-roots-no-provider",
507+
"charset",
508+
"json",
509+
"socks",
510+
]
503511

504512
# RSA cryptography
505513
[workspace.dependencies.rsa]
@@ -516,7 +524,7 @@ version = "0.15.4"
516524

517525
# TLS stack
518526
[workspace.dependencies.rustls]
519-
version = "0.23.30"
527+
version = "0.23.31"
520528

521529
# PEM parsing for rustls
522530
[workspace.dependencies.rustls-pemfile]
@@ -528,7 +536,7 @@ version = "1.12.0"
528536

529537
# Use platform-specific verifier for TLS
530538
[workspace.dependencies.rustls-platform-verifier]
531-
version = "0.5.3"
539+
version = "0.6.0"
532540

533541
# systemd service status notification
534542
[workspace.dependencies.sd-notify]

crates/http/src/reqwest.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,13 @@ impl reqwest::dns::Resolve for TracingResolver {
9191
#[must_use]
9292
pub fn client() -> reqwest::Client {
9393
// TODO: can/should we limit in-flight requests?
94-
let tls_config = rustls::ClientConfig::with_platform_verifier();
94+
95+
// The explicit typing here is because `use_preconfigured_tls` accepts
96+
// `Any`, but wants a `ClientConfig` under the hood. This helps us detect
97+
// breaking changes in the rustls-platform-verifier API.
98+
let tls_config: rustls::ClientConfig =
99+
rustls::ClientConfig::with_platform_verifier().expect("failed to create TLS config");
100+
95101
reqwest::Client::builder()
96102
.dns_resolver(Arc::new(TracingResolver::new()))
97103
.use_preconfigured_tls(tls_config)

deny.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ skip = [
6464
{ name = "indexmap", version = "1.9.3" }, # schemars depends on this old version
6565
{ name = "hashbrown", version = "0.12.3" }, # schemars -> indexmap depends on this old version
6666
{ name = "hashbrown", version = "0.14.5" }, # a few crates depend on this old version
67-
{ name = "socket2", version = "0.5.10" }, # a few crates depend on socket2 0.5
6867
# a few dependencies depend on the 1.x version of thiserror
6968
{ name = "thiserror", version = "1.0.69" },
7069
{ name = "thiserror-impl", version = "1.0.69" },

0 commit comments

Comments
 (0)