pub fn parse_duration(s: &str) -> Result<Duration, String>Expand description
Parse a human-readable duration (3min, 90s, 1h). jiff replaces
humantime (unmaintained, RUSTSEC-2026-0542) and understands both the
friendly format humantime served and ISO 8601 (PT90S). Returns std
Duration because every timeout consumer (reqwest, tokio) speaks it.