use human_units for Duration params

This commit is contained in:
Mikaël Cluseau
2025-12-20 08:52:34 +01:00
parent fb3f8942d4
commit 93e5570293
3 changed files with 26 additions and 9 deletions

16
Cargo.lock generated
View File

@ -279,6 +279,7 @@ dependencies = [
"futures-util",
"glob",
"hex",
"human-units",
"log",
"lz4",
"nix",
@ -586,6 +587,15 @@ version = "1.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
[[package]]
name = "human-units"
version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "47cf34dbcbbb7f1f6589c18e26f15a5a72592750dd5472037eb78fc0f92020d4"
dependencies = [
"paste",
]
[[package]]
name = "hyper"
version = "1.8.1"
@ -1059,6 +1069,12 @@ dependencies = [
"winapi",
]
[[package]]
name = "paste"
version = "1.0.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
[[package]]
name = "percent-encoding"
version = "2.3.2"