Properly handle Result types

This commit is contained in:
2025-06-02 20:21:37 +02:00
parent b22a62016b
commit 02d097a40e
3 changed files with 71 additions and 15 deletions

7
Cargo.lock generated
View File

@@ -26,6 +26,12 @@ dependencies = [
"memchr",
]
[[package]]
name = "anyhow"
version = "1.0.98"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487"
[[package]]
name = "axum"
version = "0.8.4"
@@ -656,6 +662,7 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
name = "xmpp-blackbox-exporter"
version = "0.1.0"
dependencies = [
"anyhow",
"axum",
"regex",
"serde",