pub fn parse_duration(s: &str) -> Result<Duration>
Parse a duration string like “7d”, “24h”, “30m”, “60s”