feat: use thiserror for better error handling
This commit is contained in:
parent
86910cb29a
commit
8eed67ab69
8 changed files with 99 additions and 23 deletions
|
|
@ -4,7 +4,6 @@ version = "0.1.0"
|
|||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.100"
|
||||
async-trait = "0.1.89"
|
||||
clap = { version = "4.5.48", features = ["derive"] }
|
||||
once_cell = "1.21.3"
|
||||
|
|
@ -12,6 +11,8 @@ tokio = { version = "1.47.1", features = ["full"] }
|
|||
console-subscriber = { version = "0.4.1", optional = true }
|
||||
tracing = "0.1.41"
|
||||
tracing-subscriber = "0.3.20"
|
||||
thiserror = "2.0.17"
|
||||
anyhow = "1.0.100"
|
||||
|
||||
[features]
|
||||
tokio-console = ["tokio/tracing", "console-subscriber"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue