summaryrefslogtreecommitdiffstats
path: root/Cargo.lock
diff options
context:
space:
mode:
authorcyqsimon <28627918+cyqsimon@users.noreply.github.com>2023-08-25 19:02:37 +0800
committercyqsimon <28627918+cyqsimon@users.noreply.github.com>2023-08-25 19:02:37 +0800
commitffbf0cd8aa73ed3db3e9dc01f154eacb5fe1130c (patch)
tree7e20ef11e08466f09044d6423319779d1d70919b /Cargo.lock
parentc780c06807fbed4388eb5636c30a4cc11eeb814c (diff)
Migrate from `failure` to `anyhow`+`thiserror`
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock52
1 files changed, 11 insertions, 41 deletions
diff --git a/Cargo.lock b/Cargo.lock
index ab49fe7..9c95fd1 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -62,6 +62,15 @@ dependencies = [
]
[[package]]
+name = "anyhow"
+version = "1.0.75"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6"
+dependencies = [
+ "backtrace",
+]
+
+[[package]]
name = "async-trait"
version = "0.1.73"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -108,11 +117,11 @@ dependencies = [
name = "bandwhich"
version = "0.20.0"
dependencies = [
+ "anyhow",
"async-trait",
"cargo-insta",
"chrono",
"crossterm 0.27.0",
- "failure",
"http_req",
"insta",
"ipnetwork",
@@ -128,6 +137,7 @@ dependencies = [
"resolv-conf",
"structopt",
"sysinfo",
+ "thiserror",
"tokio",
"trust-dns-resolver",
"unicode-width",
@@ -517,28 +527,6 @@ dependencies = [
]
[[package]]
-name = "failure"
-version = "0.1.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d32e9bd16cc02eae7db7ef620b392808b89f6a5e16bb3497d159c6b92a0f4f86"
-dependencies = [
- "backtrace",
- "failure_derive",
-]
-
-[[package]]
-name = "failure_derive"
-version = "0.1.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 1.0.109",
- "synstructure",
-]
-
-[[package]]
name = "fastrand"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1777,18 +1765,6 @@ dependencies = [
]
[[package]]
-name = "synstructure"
-version = "0.12.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 1.0.109",
- "unicode-xid",
-]
-
-[[package]]
name = "sysinfo"
version = "0.29.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2047,12 +2023,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b"
[[package]]
-name = "unicode-xid"
-version = "0.2.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c"
-
-[[package]]
name = "url"
version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"