diff --git a/Cargo.lock b/Cargo.lock index b887896a7..238828b9b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1374,13 +1374,20 @@ dependencies = [ [[package]] name = "email-encoding" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6690291166824e467790ac08ba42f241791567e8337bbf00c5a6e87889629f98" +checksum = "75b91dddc343e7eaa27f9764e5bffe57370d957017fdd75244f5045e829a8441" dependencies = [ "base64", + "memchr", ] +[[package]] +name = "email_address" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8684b7c9cb4857dfa1e5b9629ef584ba618c9b93bae60f58cb23f4f271d0468e" + [[package]] name = "encoding_rs" version = "0.8.31" @@ -2175,13 +2182,14 @@ checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" [[package]] name = "lettre" -version = "0.10.0-rc.6" +version = "0.10.0-rc.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f6c70001f7ee6c93b6687a06607c7a38f9a7ae460139a496c23da21e95bc289" +checksum = "0f7e87d9d44162eea7abd87b1a7540fcb10d5e58e8bb4f173178f3dc6e453944" dependencies = [ "async-trait", "base64", "email-encoding", + "email_address", "fastrand", "futures-io", "futures-util", @@ -2192,10 +2200,10 @@ dependencies = [ "nom", "once_cell", "quoted_printable", - "regex", "rustls 0.20.6", "rustls-pemfile 1.0.0", "serde", + "socket2", "tokio", "tokio-rustls 0.23.4", "tracing", diff --git a/crates/config/Cargo.toml b/crates/config/Cargo.toml index b04188458..22824c575 100644 --- a/crates/config/Cargo.toml +++ b/crates/config/Cargo.toml @@ -22,7 +22,7 @@ serde = { version = "1.0.137", features = ["derive"] } serde_with = { version = "1.14.0", features = ["hex", "chrono"] } serde_json = "1.0.81" sqlx = { version = "0.5.13", features = ["runtime-tokio-rustls", "postgres"] } -lettre = { version = "0.10.0-rc.6", default-features = false, features = ["serde", "builder"] } +lettre = { version = "0.10.0-rc.7", default-features = false, features = ["serde", "builder"] } rand = "0.8.5" rsa = { git = "https://github.com/sandhose/RSA.git", branch = "bump-pkcs" } diff --git a/crates/email/Cargo.toml b/crates/email/Cargo.toml index b4fe6acd9..b606a69ce 100644 --- a/crates/email/Cargo.toml +++ b/crates/email/Cargo.toml @@ -18,6 +18,6 @@ mas-templates = { path = "../templates" } mas-config = { path = "../config" } [dependencies.lettre] -version = "0.10.0-rc.6" +version = "0.10.0-rc.7" default-features = false features = ["tokio1-rustls-tls", "hostname", "builder", "tracing", "pool", "smtp-transport", "sendmail-transport"] diff --git a/crates/handlers/Cargo.toml b/crates/handlers/Cargo.toml index 623ae59b7..551b8cf25 100644 --- a/crates/handlers/Cargo.toml +++ b/crates/handlers/Cargo.toml @@ -25,7 +25,7 @@ axum-macros = "0.2.2" axum-extra = { version = "0.3.3", features = ["cookie-private"] } # Emails -lettre = { version = "0.10.0-rc.6", default-features = false, features = ["builder"] } +lettre = { version = "0.10.0-rc.7", default-features = false, features = ["builder"] } # Database access sqlx = { version = "0.5.13", features = ["runtime-tokio-rustls", "postgres"] }