Improve error management by use thiserror #3

Merged
pierre merged 2 commits from GwenLg/GrammalecteClient:use_thiserror into master 2024-06-14 11:43:58 +00:00
2 changed files with 967 additions and 506 deletions
Showing only changes of commit 0d43729a02 - Show all commits

1465
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -14,10 +14,10 @@ categories = ["text-processing"]
[dependencies] [dependencies]
serde_json = "1.0.96" serde_json = "1.0.96"
reqwest = { version = "0.11.18", features = ["json"] } reqwest = { version = "0.12.4", features = ["json"] }
serde = { version = "1.0.163", features = ["derive"] } serde = { version = "1.0.163", features = ["derive"] }
log = "0.4.17" log = "0.4.17"
zip = { version = "0.6.3", optional = true } zip = { version = "2.1.3", optional = true }
mktemp = { version = "0.5.0", optional = true } mktemp = { version = "0.5.0", optional = true }
rand = { version = "0.8.5", optional = true } rand = { version = "0.8.5", optional = true }
port_scanner = { version = "0.1.5", optional = true } port_scanner = { version = "0.1.5", optional = true }
@ -26,5 +26,5 @@ port_scanner = {version = "0.1.5", optional = true}
embedded-server = ["zip", "mktemp", "rand", "port_scanner"] embedded-server = ["zip", "mktemp", "rand", "port_scanner"]
[dev-dependencies] [dev-dependencies]
env_logger = "0.10.0" env_logger = "0.11.3"
tokio = { version = "1.28.1", features = ["full"] } tokio = { version = "1.28.1", features = ["full"] }