commit 0c18a7e306da0c3484af62d1d007bb08efb4f981
parent 316ca66a4b2e3c4852b43802409a4c9ce67a71bb
Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com>
Date: Sat, 4 Jun 2022 19:09:11 +0200
Merge branch 'paolobarbolini-lettre-rc7' into main
Diffstat:
2 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
@@ -770,14 +770,21 @@ checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
[[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"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1435,12 +1442,13 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
[[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 = [
"base64",
"email-encoding",
+ "email_address",
"fastrand",
"hostname",
"httpdate",
@@ -1450,8 +1458,8 @@ dependencies = [
"nom",
"once_cell",
"quoted_printable",
- "regex",
"serde",
+ "socket2 0.4.4",
"tracing",
]
diff --git a/Cargo.toml b/Cargo.toml
@@ -109,7 +109,7 @@ url = "2.2.2"
# Email libraries
idna = "0.2.3" # Punycode conversion
-lettre = { version = "0.10.0-rc.6", features = ["smtp-transport", "builder", "serde", "native-tls", "hostname", "tracing"], default-features = false }
+lettre = { version = "0.10.0-rc.7", features = ["smtp-transport", "builder", "serde", "native-tls", "hostname", "tracing"], default-features = false }
percent-encoding = "2.1.0" # URL encoding library used for URL's in the emails
# Template library