use anyhow for error handling

This commit is contained in:
2023-08-17 23:09:44 +03:00
parent 376c2f860c
commit a369fc5aee
6 changed files with 70 additions and 85 deletions

5
Cargo.lock generated
View File

@@ -92,9 +92,9 @@ dependencies = [
[[package]]
name = "anyhow"
version = "1.0.74"
version = "1.0.75"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8c6f84b74db2535ebae81eede2f39b947dcbf01d093ae5f791e5dd414a1bf289"
checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6"
[[package]]
name = "async-stream"
@@ -658,6 +658,7 @@ dependencies = [
name = "socks5ws"
version = "0.1.0"
dependencies = [
"anyhow",
"async-stream",
"clap",
"ctrlc",