aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.lock
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-02-13 21:14:33 -0600
committerToby Vincent <tobyv13@gmail.com>2022-02-13 21:14:33 -0600
commit8985b2ffd7c8d6e9cf726f630f39ce6e8f00df79 (patch)
tree3e632e691378e36d389393d80049fa81c1b8f9cf /Cargo.lock
parent96e571eca2991a19fc9bcdc26e451c4fad5bc791 (diff)
refactor: add error handling to libraries
refactor libraries from using anyhow to explicitly handling errors
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock29
1 files changed, 27 insertions, 2 deletions
diff --git a/Cargo.lock b/Cargo.lock
index ec23969..50ffd76 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1671,6 +1671,26 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0066c8d12af8b5acd21e00547c3797fde4e8677254a7ee429176ccebbe93dd80"
[[package]]
+name = "thiserror"
+version = "1.0.30"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "854babe52e4df1653706b98fcfc05843010039b406875930a70e4d9644e5c417"
+dependencies = [
+ "thiserror-impl",
+]
+
+[[package]]
+name = "thiserror-impl"
+version = "1.0.30"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aa32fd3f627f367fe16f893e2597ae3c05020f8bba2666a4e6ea73d377e5714b"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
name = "thread_local"
version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2120,7 +2140,6 @@ dependencies = [
name = "zone_core"
version = "0.1.0"
dependencies = [
- "anyhow",
"clap",
"rocket",
"rocket_okapi",
@@ -2128,6 +2147,7 @@ dependencies = [
"strum",
"strum_macros",
"tabled",
+ "thiserror",
"zone_nspawn",
"zone_zfs",
]
@@ -2135,15 +2155,18 @@ dependencies = [
[[package]]
name = "zone_nspawn"
version = "0.1.0"
+dependencies = [
+ "thiserror",
+]
[[package]]
name = "zone_zfs"
version = "0.1.0"
dependencies = [
- "anyhow",
"chrono",
"figment",
"serde",
+ "thiserror",
"tracing",
]
@@ -2151,11 +2174,13 @@ dependencies = [
name = "zoned"
version = "0.1.0"
dependencies = [
+ "anyhow",
"figment",
"lazy_static",
"rocket",
"rocket_okapi",
"serde",
+ "thiserror",
"zone_core",
"zone_nspawn",
"zone_zfs",