aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.lock
diff options
context:
space:
mode:
authorTeddy Wing2021-03-09 00:23:03 +0100
committerTeddy Wing2021-03-09 00:23:03 +0100
commitdf0704c5958993692319850e809cb0cf4e85589f (patch)
tree9990ae44add49f8f5a378fa9324b3862cf6b8b99 /Cargo.lock
parent34f470d2fbfff09a448a54f60addb385db6aa036 (diff)
downloadmutt-ottolangy-df0704c5958993692319850e809cb0cf4e85589f.tar.bz2
Work out how to get the body of a multipart email
Figured out why I was getting an empty string before: I was inputting a multipart email. I need to actually look through each part to get the message body. Look for the body of the "text/plain" part.
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock64
1 files changed, 56 insertions, 8 deletions
diff --git a/Cargo.lock b/Cargo.lock
index c1fd4d7..6ef8110 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1,23 +1,71 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
[[package]]
-name = "buf-read-ext"
-version = "0.3.0"
+name = "base64"
+version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bd2b3bef6c7a0f62d42a25a3cce9a40d558f3f4e15b70a7eef4aaea5c2a419ab"
+checksum = "0b25d992356d2eb0ed82172f5248873db5560c4721f564b13cb5193bda5e668e"
+dependencies = [
+ "byteorder",
+]
+
+[[package]]
+name = "base64"
+version = "0.12.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff"
+
+[[package]]
+name = "byteorder"
+version = "1.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ae44d1a3d5a19df61dd0c8beb138458ac2a53a7ac09eba97d55592540004306b"
+
+[[package]]
+name = "cfg-if"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+
+[[package]]
+name = "charset"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4f426e64df1c3de26cbf44593c6ffff5dbfd43bbf9de0d075058558126b3fc73"
+dependencies = [
+ "base64 0.10.1",
+ "encoding_rs",
+]
+
+[[package]]
+name = "encoding_rs"
+version = "0.8.28"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "80df024fbc5ac80f87dfef0d9f5209a252f2a497f7f42944cff24d8253cac065"
+dependencies = [
+ "cfg-if",
+]
[[package]]
-name = "email-format"
-version = "0.8.0"
+name = "mailparse"
+version = "0.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd8eb503420bb8f3576592fed3c40baa2cca5f41420baa9ceef8e1d2c09327bb"
+checksum = "31de1f9043c582efde7dbd93de56600df12b6c4488a67eeaefa74ea364019b22"
dependencies = [
- "buf-read-ext",
+ "base64 0.12.3",
+ "charset",
+ "quoted_printable",
]
[[package]]
name = "ottolangy"
version = "0.0.1"
dependencies = [
- "email-format",
+ "mailparse",
]
+
+[[package]]
+name = "quoted_printable"
+version = "0.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "47b080c5db639b292ac79cbd34be0cfc5d36694768d8341109634d90b86930e2"