aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.lock
diff options
context:
space:
mode:
authorTeddy Wing2021-03-14 03:32:18 +0100
committerTeddy Wing2021-03-14 03:32:18 +0100
commitdca32c260c0ecd85e01a7bbef07192bc4c8a2290 (patch)
tree339271d9b93b428ddfc277db57a9f5522a12c06f /Cargo.lock
parent4abb14e1d3ea8fe2499e0c9f428ecc998f685465 (diff)
downloadmutt-ottolangy-dca32c260c0ecd85e01a7bbef07192bc4c8a2290.tar.bz2
Wrap errors in a custom `OttolangyError` type
Give us a way to match on the type of error so we can return an appropriate exit code.
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock56
1 files changed, 56 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index a997dcb..047960a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -91,17 +91,73 @@ version = "0.0.1"
dependencies = [
"anyhow",
"mailparse",
+ "thiserror",
"whatlang",
"xdg",
]
[[package]]
+name = "proc-macro2"
+version = "1.0.24"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71"
+dependencies = [
+ "unicode-xid",
+]
+
+[[package]]
+name = "quote"
+version = "1.0.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7"
+dependencies = [
+ "proc-macro2",
+]
+
+[[package]]
name = "quoted_printable"
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "47b080c5db639b292ac79cbd34be0cfc5d36694768d8341109634d90b86930e2"
[[package]]
+name = "syn"
+version = "1.0.63"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8fd9bc7ccc2688b3344c2f48b9b546648b25ce0b20fc717ee7fa7981a8ca9717"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-xid",
+]
+
+[[package]]
+name = "thiserror"
+version = "1.0.24"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e0f4a65597094d4483ddaed134f409b2cb7c1beccf25201a9f73c719254fa98e"
+dependencies = [
+ "thiserror-impl",
+]
+
+[[package]]
+name = "thiserror-impl"
+version = "1.0.24"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7765189610d8241a44529806d6fd1f2e0a08734313a35d5b3a556f92b381f3c0"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "unicode-xid"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564"
+
+[[package]]
name = "whatlang"
version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"