diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2020-08-31 23:59:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-31 23:59:33 -0400 |
commit | a4ddd649e140e1bc7cab29a53662d4f345f4f1ff (patch) | |
tree | 931e2614a77a7351eb7dc2fe6e9c1c734898dff0 /Cargo.toml | |
parent | 5ed573157c00a0617c786edde0a241bd75e81666 (diff) |
refactor: Update error messages w/ anyhow and thiserror (#216)
Refactoring and updating of error messages + tests to be more useful.
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -24,14 +24,17 @@ lto = "fat" codegen-units = 1 [dependencies] +anyhow = "1.0.32" battery = "0.7.6" -crossterm = "0.17" chrono = "0.4.15" +crossterm = "0.17" +ctrlc = {version = "3.1", features = ["termination"]} clap = "2.33" dirs = "3.0.1" futures = "0.3.5" heim = "0.0.10" itertools = "0.9.0" +libc = "0.2" regex = "1.3" sysinfo = "0.15.1" toml = "0.5.6" @@ -41,8 +44,7 @@ backtrace = "0.3" serde = {version = "1.0", features = ["derive"] } unicode-segmentation = "1.6.0" unicode-width = "0.1" -libc = "0.2" -ctrlc = {version = "3.1", features = ["termination"]} +thiserror = "1.0.20" tui = {version = "0.9.5", features = ["crossterm"], default-features = false } # For debugging only... @@ -82,5 +84,5 @@ output = "bottom_x86_64_installer.msi" [dev-dependencies.cargo-husky] version = "1" -default-features = false -features = ["prepush-hook", "run-cargo-clippy"]
\ No newline at end of file +default-features = false +features = ["user-hooks"]
\ No newline at end of file |