From 05a556f7cc92b7710f7b4f509be9376a0296b21e Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 14 Mar 2021 04:50:29 +0100 Subject: Add additional sysexits error codes for other errors Give types to the errors in `run()` and exit with appropriate error codes. Split out an additional error type so we can wrap errors from the non-main functions. Remove 'anyhow', replacing it with 'thiserror' now that we're using error types. --- Cargo.toml | 1 - 1 file changed, 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 439c05f..ba30916 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,6 @@ version = "0.0.1" edition = "2018" [dependencies] -anyhow = "1.0.38" exitcode = "1.1.2" mailparse = "0.13.2" thiserror = "1.0.24" -- cgit v1.2.3