Humanized duration with custom formatter

This commit is contained in:
2024-11-27 06:06:38 -06:00
parent b1af481b86
commit b5bf7c7965
4 changed files with 101 additions and 23 deletions

10
src-tauri/Cargo.lock generated
View File

@@ -861,6 +861,7 @@ name = "factorio-achievements-fixer"
version = "0.1.0"
dependencies = [
"human_bytes",
"humanize-duration",
"serde",
"serde_json",
"simple-home-dir",
@@ -1421,6 +1422,15 @@ version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "91f255a4535024abf7640cb288260811fc14794f62b063652ed349f9a6c2348e"
[[package]]
name = "humanize-duration"
version = "0.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "082247a9fa508369fe52b235aef8a8dbf931b08d223a1a9b70cd400a8a77ae9c"
dependencies = [
"time",
]
[[package]]
name = "hyper"
version = "1.5.1"