aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.lock
diff options
context:
space:
mode:
authorTeddy Wing2021-05-04 23:22:07 +0200
committerTeddy Wing2021-05-04 23:22:07 +0200
commit6afe10b7ab6bc3ab6e096cdd219ea078d4a02b44 (patch)
treee360c6f07099089b1f719237e404ae90c323f68d /Cargo.lock
parent177c51d7af7626afc98a8c2e0abe8bb4a6529121 (diff)
downloadpdf-form-replace-font-6afe10b7ab6bc3ab6e096cdd219ea078d4a02b44.tar.bz2
Add context to errors
Remove `unwrap`s and add context to errors with 'anyhow'.
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock7
1 files changed, 7 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index e20b14b..20315d7 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -7,6 +7,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
[[package]]
+name = "anyhow"
+version = "1.0.40"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "28b2cd92db5cbd74e8e5028f7e27dd7aa3090e89e4f2a197cc7c8dfb69c7063b"
+
+[[package]]
name = "autocfg"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -245,6 +251,7 @@ dependencies = [
name = "pdf-form-replace-font"
version = "0.0.1"
dependencies = [
+ "anyhow",
"getopts",
"lopdf",
]