aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorTeddy Wing2020-09-16 02:16:27 +0200
committerTeddy Wing2020-09-16 02:16:27 +0200
commit6fdf7b121bcddbc0328703f34fdb0fee71e03dc8 (patch)
tree98bb34d963c8d4a52c5174614a7409322ec2406e /Cargo.toml
parente68aa0dfd1a200ff781f19ddffd69d01d9796ad3 (diff)
downloadgit-todo-6fdf7b121bcddbc0328703f34fdb0fee71e03dc8.tar.bz2
lib.rs: Replace top-level `unwrap()`s with `Result`s
Add a new `Error` type that we can return in the failure case. Still need to work out how to handle errors inside the diff callback.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index cf539a5..834bb4c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,3 +5,4 @@ edition = "2018"
[dependencies]
git2 = "0.13.11"
+thiserror = "1.0.20"