diff options
author | Teddy Wing | 2021-03-14 04:50:29 +0100 |
---|---|---|
committer | Teddy Wing | 2021-03-14 04:55:11 +0100 |
commit | 05a556f7cc92b7710f7b4f509be9376a0296b21e (patch) | |
tree | c420442efd19bedaefae4baef8e2a6e9a4aeb2ec /Cargo.lock | |
parent | 0fa5b304ed57517ba04b7a42ff30258e456972f8 (diff) | |
download | mutt-ottolangy-05a556f7cc92b7710f7b4f509be9376a0296b21e.tar.bz2 |
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.
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -7,12 +7,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e8fd72866655d1904d6b0997d0b07ba561047d070fbe29de039031c641b61217" [[package]] -name = "anyhow" -version = "1.0.38" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afddf7f520a80dbf76e6f50a35bca42a2331ef227a28b3b6dc5c2e2338d114b1" - -[[package]] name = "autocfg" version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -95,7 +89,6 @@ dependencies = [ name = "ottolangy" version = "0.0.1" dependencies = [ - "anyhow", "exitcode", "mailparse", "thiserror", |