diff options
author | Teddy Wing | 2020-09-16 02:16:27 +0200 |
---|---|---|
committer | Teddy Wing | 2020-09-16 02:16:27 +0200 |
commit | 6fdf7b121bcddbc0328703f34fdb0fee71e03dc8 (patch) | |
tree | 98bb34d963c8d4a52c5174614a7409322ec2406e /Cargo.toml | |
parent | e68aa0dfd1a200ff781f19ddffd69d01d9796ad3 (diff) | |
download | git-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.toml | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -5,3 +5,4 @@ edition = "2018" [dependencies] git2 = "0.13.11" +thiserror = "1.0.20" |