commit c264c6cd80c6172d639ca5f3a87ac49a6b483eb6
parent 33096a1615a64426ef54e36e9e27d15d2e7669e4
Author: alex wennerberg <alex@alexwennerberg.com>
Date: Mon, 10 Jan 2022 19:36:32 -0800
Vendor maildir dependency
Diffstat:
3 files changed, 1 insertion(+), 50 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
@@ -37,7 +37,6 @@ dependencies = [
"anyhow",
"horrorshow",
"linkify",
- "maildir",
"mailparse",
"nanohtml2text",
"once_cell",
@@ -54,28 +53,12 @@ dependencies = [
]
[[package]]
-name = "gethostname"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e692e296bfac1d2533ef168d0b60ff5897b8b70a4009276834014dd8924cc028"
-dependencies = [
- "libc",
- "winapi",
-]
-
-[[package]]
name = "horrorshow"
version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8371fb981840150b1a54f7cb117bf6699f7466a1d4861daac33bc6fe2b5abea0"
[[package]]
-name = "libc"
-version = "0.2.112"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1b03d17f364a3a042d5e5d46b053bbbf82c92c9430c592dd4c064dc6ee997125"
-
-[[package]]
name = "linkify"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -85,16 +68,6 @@ dependencies = [
]
[[package]]
-name = "maildir"
-version = "0.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6adcf4693a3c725b9c69ccf24f8ed9c6d3e7168c1a45632570d65529adc13b5e"
-dependencies = [
- "gethostname",
- "mailparse",
-]
-
-[[package]]
name = "mailparse"
version = "0.13.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -134,25 +107,3 @@ name = "urlencoding"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68b90931029ab9b034b300b797048cf23723400aa757e8a2bfb9d748102f9821"
-
-[[package]]
-name = "winapi"
-version = "0.3.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
-dependencies = [
- "winapi-i686-pc-windows-gnu",
- "winapi-x86_64-pc-windows-gnu",
-]
-
-[[package]]
-name = "winapi-i686-pc-windows-gnu"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
-
-[[package]]
-name = "winapi-x86_64-pc-windows-gnu"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
diff --git a/Cargo.toml b/Cargo.toml
@@ -12,7 +12,6 @@ anyhow = "1.0"
horrorshow = "0.8"
linkify = "0.8"
mailparse = "0.13"
-maildir = "0.5.0"
once_cell = "1.9"
urlencoding = "2.1"
nanohtml2text = "0.1.1"
diff --git a/src/main.rs b/src/main.rs
@@ -21,6 +21,7 @@ use config::{Config, INSTANCE};
use utils::xml_safe;
mod arg;
mod config;
+mod maildir;
mod time;
mod utils;