Use the humantime crate to parse Duration

This commit is contained in:
finga 2021-06-27 02:39:22 +02:00
parent 851a387c82
commit 83e4ff36e5
8 changed files with 18 additions and 29 deletions

7
Cargo.lock generated
View file

@ -98,6 +98,12 @@ dependencies = [
"libc",
]
[[package]]
name = "humantime"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
[[package]]
name = "indexmap"
version = "1.6.2"
@ -127,6 +133,7 @@ dependencies = [
"anyhow",
"chrono",
"clap",
"humantime",
"posixmq",
]