commit b62b91f0e20faac514ee1aec5276bcb9454b9ffa
parent d0ff2b707fc0dae3663025ee86657abb4fb83688
Author: alex wennerberg <alex@alexwennerberg.com>
Date: Sat, 1 May 2021 22:37:27 -0700
Update dependencies
I added combined flags to pico-args for this
Diffstat:
3 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
@@ -17,9 +17,9 @@ dependencies = [
[[package]]
name = "base64"
-version = "0.12.3"
+version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff"
+checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
[[package]]
name = "byteorder"
@@ -63,11 +63,11 @@ dependencies = [
[[package]]
name = "mailparse"
-version = "0.13.2"
+version = "0.13.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "31de1f9043c582efde7dbd93de56600df12b6c4488a67eeaefa74ea364019b22"
+checksum = "62db73ff1a42b0e3a8858cf0d5c183bdfc23491f7294ae4a8200c83577457386"
dependencies = [
- "base64 0.12.3",
+ "base64 0.13.0",
"charset",
"quoted_printable",
]
@@ -75,8 +75,7 @@ dependencies = [
[[package]]
name = "pico-args"
version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d70072c20945e1ab871c472a285fc772aefd4f5407723c206242f2c6f94595d6"
+source = "git+https://github.com/RazrFalcon/pico-args?rev=77efd05a1c#77efd05a1c3f960d77f25ad22bffa2522c8bf0a3"
[[package]]
name = "quoted_printable"
diff --git a/Cargo.toml b/Cargo.toml
@@ -10,5 +10,5 @@ edition = "2018"
mailparse = "0.13"
# TODO feature flag html emails
# ammonia = "3"
-pico-args = "*"
-anyhow = "*"
+pico-args = { git = 'https://github.com/RazrFalcon/pico-args', rev = '77efd05a1c', features = ['combined-flags']}
+anyhow = "1.0"
diff --git a/src/main.rs b/src/main.rs
@@ -7,6 +7,9 @@ Usage: crabmail
FLAGS:
-h, --help Prints this help information and exits.
+ -v, --version Prints the version and exits
+
+OPTIONS:
-d, --dir Directory to save the HTML files in
-m, --mbox Mbox file, files, or directories to read in
";