better error handling using anyhow

This commit is contained in:
Khaïs COLIN 2025-10-27 10:46:22 +01:00
parent 425ec50a5f
commit ad3a235982
Signed by: logistic-bot
SSH key fingerprint: SHA256:RlpiqKeXpcPFZZ4y9Ou4xi2M8OhRJovIwDlbCaMsuAo
4 changed files with 66 additions and 51 deletions

7
Cargo.lock generated
View file

@ -20,6 +20,12 @@ dependencies = [
"libc",
]
[[package]]
name = "anyhow"
version = "1.0.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61"
[[package]]
name = "askama"
version = "0.14.0"
@ -812,6 +818,7 @@ checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263"
name = "task_counter"
version = "0.1.0"
dependencies = [
"anyhow",
"askama",
"axum",
"chrono",