use anyhow for errors

This commit is contained in:
2025-06-02 15:12:59 +02:00
parent efd096a149
commit 4781570f8e
11 changed files with 72 additions and 120 deletions

7
Cargo.lock generated
View File

@@ -41,6 +41,12 @@ dependencies = [
"libc",
]
[[package]]
name = "anyhow"
version = "1.0.98"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487"
[[package]]
name = "async-stream"
version = "0.3.6"
@@ -419,6 +425,7 @@ dependencies = [
name = "fw-anwesenheit"
version = "0.1.0"
dependencies = [
"anyhow",
"chrono",
"gpio",
"log",