NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #3128 most downloaded on crates.io
duration string parser
Latest stable
0.21.0
Last release 8 months ago
03 Mar 2026
Release timing varies
gaps range from 9 days to 8 months
Some releases are documented
notes for 18 of 40 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
41 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
Add vist_unit for struct flatten to work with null property for option deserialization by @sbuzzard in https://github.com/baoyachi/duration-str/pull/9
Full Changelog: https://github.com/baoyachi/duration-str/compare/v0.20.0...v0.21.0
chore(deps): bump time to 0.3.47 by @jeroenvervaeke in https://github.com/baoyachi/duration-str/pull/91
Full Changelog: https://github.com/baoyachi/duration-str/compare/v0.19.0...v0.20.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
fix(serde): treat empty string as None for Option by @baoyachi in https://github.com/baoyachi/duration-str/pull/88
Full Changelog: https://github.com/baoyachi/duration-str/compare/v0.18.0...v0.19.0
Bump http-proxy-middleware from 2.0.7 to 2.0.9 in /playground/site in the npm_and_yarn group across 1 directory by @dependabot[bot] in https://github.
calc feature and keep only no_calc by @oletf in https://github.com/baoyachi/duration-str/pull/83Full Changelog: https://github.com/baoyachi/duration-str/compare/v0.17.0...v0.18.0
Supports parsing of Chinese time unit names by @baoyachi in https://github.com/baoyachi/duration-str/pull/71
Full Changelog: https://github.com/baoyachi/duration-str/compare/v0.16.1...v0.17.0
Fix GitHub action by @baoyachi in https://github.com/baoyachi/duration-str/pull/69
Full Changelog: https://github.com/baoyachi/duration-str/compare/v0.16.0...v0.16.1
Independent calc feature by @baoyachi in https://github.com/baoyachi/duration-str/pull/67
Full Changelog: https://github.com/baoyachi/duration-str/compare/0.2.0...v0.16.0
performance optimization by @baoyachi in https://github.com/baoyachi/duration-str/pull/66
Full Changelog: https://github.com/baoyachi/duration-str/compare/v0.15.0...v0.15.1
add lowercase feature to improve performance by @baoyachi in https://github.com/baoyachi/duration-str/pull/65
Full Changelog: https://github.com/baoyachi/duration-str/compare/v0.14.0...v0.15.0
Winnow 0.7 by @baoyachi in https://github.com/baoyachi/duration-str/pull/63
Full Changelog: https://github.com/baoyachi/duration-str/compare/v0.13.0...v0.14.0
feat: optional spaces between digits and unit by @algernon in https://github.com/baoyachi/duration-str/pull/57
Full Changelog: https://github.com/baoyachi/duration-str/compare/v0.12.0...v0.13.0
feat: support plural by @itohatweb in https://github.com/baoyachi/duration-str/pull/56
Full Changelog: https://github.com/baoyachi/duration-str/compare/v0.11.3...v0.12.0
Update thiserror requirement from 1.0.37 to 2.0.0 by @dependabot in https://github.com/baoyachi/duration-str/pull/53
Full Changelog: https://github.com/baoyachi/duration-str/compare/v0.11.2...v0.11.3
Nothing published for this version
Nothing published for this version
Github action check enhancement
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
use winnow crate replace nom crate. #28
use winnow crate replace nom crate. #28
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
pub fn parse_naive_date_time >(input: S) -> anyhow::Result { let std_duration = parse_std(input)?; let duration = chrono::Duration::from_std(std_durat
#[cfg(feature = "chrono")] pub fn parse_naive_date_time<S: Into<String>>(input: S) -> anyhow::Resultchrono::NaiveDateTime { let std_duration = parse_std(input)?; let duration = chrono::Duration::from_std(std_duration)?; let time = (Utc::now() + duration).naive_utc(); Ok(time) }
#[cfg(feature = "chrono")] pub fn parse_naive_date<S: Into<String>>(input: S) -> anyhow::Resultchrono::NaiveDate { let date = parse_naive_date_time(input)?; Ok(date.date()) }
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Parse string to Duration . The String duration unit support for one of:["y","mon","w","d","h","m","s", "ms", "µs", "ns"]
Parse string to Duration . The String duration unit support for one of:["y","mon","w","d","h","m","s", "ms", "µs", "ns"]
["y" | "year" | "Y" | "YEAR" | "Year"]. e.g. 1y["mon" | "MON" | "Month" | "month" | "MONTH"]. e.g. 1mon["w" | "W" | "Week" | "WEEK" | "week"]. e.g. 1w["d" | "D" | "Day" | "DAY" | "day"]. e.g. 1d["h" | "H" | "Hour" | "HOUR" | "hour"]. e.g. 1h["m" | "M" | "Minute" | "MINUTE" | "minute"]. e.g. 1m["s" | "S" | "Second" | "SECOND" | "second"]. e.g. 1s["ms" | "MS" | "Millisecond" | "MilliSecond" | "MILLISECOND" | "millisecond", "mSEC"]. e.g. 1ms["µs" | "µS" | "µsecond" | "Microsecond" | "MicroSecond" | "MICROSECOND" | "microsecond", "µSEC"]. e.g. 1µs["ns" | "NS" | "Nanosecond" | "NanoSecond" | "NANOSECOND" | "nanosecond", "nSEC"]. e.g. 1nsNothing published for this version
Nothing published for this version
* add document * add example * refactor code
Nothing published for this version
Nothing published for this version
One column per quarter.