diff options
author | Nick Gerace <nickagerace@gmail.com> | 2020-10-10 22:57:12 -0400 |
---|---|---|
committer | Nick Gerace <nickagerace@gmail.com> | 2020-10-10 23:04:31 -0400 |
commit | 13afbbf10f3b8506b4321d6026cacdea5f775215 (patch) | |
tree | d33e28e06de67981238a8ccab47f795c588e5e8b /Cargo.lock | |
parent | fe195fffdc878a94c62fb97bc64fc5a0b834e697 (diff) | |
download | gfold-13afbbf10f3b8506b4321d6026cacdea5f775215.zip |
Add eyre for simple backtrace reporting
Add eyre for simple backtrace reporting. Since gfold relies on speed and
efficiency, and sports a relatively small codebase, eyre provides a
simple backtrace report when an error is encountered. Specifically, the
filename and line are the most important parts.
Unrelated, add a cargo doc command to the release Make target.
Adjust existing docs comments to match style.
Change some private definitions to be public.
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -166,6 +166,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" [[package]] +name = "eyre" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4c5cb4dc433c59f09df4b4450f649cbfed61e8a3505abe32e4154066439157e" +dependencies = [ + "indenter", + "once_cell", +] + +[[package]] name = "getrandom" version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -180,6 +190,7 @@ dependencies = [ name = "gfold" version = "0.5.2" dependencies = [ + "eyre", "git2", "prettytable-rs", "structopt", @@ -230,6 +241,12 @@ dependencies = [ ] [[package]] +name = "indenter" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0bd112d44d9d870a6819eb505d04dd92b5e4d94bb8c304924a0872ae7016fb5" + +[[package]] name = "itoa" version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -318,6 +335,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400" [[package]] +name = "once_cell" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "260e51e7efe62b592207e9e13a68e43692a7a279171d6ba57abd208bf23645ad" + +[[package]] name = "openssl-probe" version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" |