feat(config): support human-readable durations with legacy compatibility

This commit is contained in:
lda committed 2026-10-10 23:37:04 +07:00 Verified
1 parent f91186a7b1
commit f098d85621
22 files changed
+715 -151

No files matched your search

Generated
+19
View File
@@ -1031,6 +1031,22 @@ version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
[[package]]
name = "humantime"
version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "15cdd26707701c53297e2fa6afb323d55fbc1d0810c3aec078ae3ef0424c3c15"
[[package]]
name = "humantime-serde"
version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "57a3db5ea5923d99402c94e9feb261dc5ee9b4efa158b0315f788cf549cc200c"
dependencies = [
"humantime",
"serde",
]
[[package]]
name = "hyper"
version = "1.9.0"
@@ -3615,6 +3631,7 @@ dependencies = [
"clap",
"futures-util",
"http",
"humantime-serde",
"macaddr",
"nix 0.31.2",
"reqwest",
@@ -3638,6 +3655,7 @@ dependencies = [
"axum",
"clap",
"futures-util",
"humantime-serde",
"macaddr",
"nix 0.31.2",
"reqwest",
@@ -3658,6 +3676,7 @@ name = "wakey-core"
version = "0.3.6"
dependencies = [
"anyhow",
"humantime",
"macaddr",
"opentelemetry",
"opentelemetry-appender-tracing",