durstr
github.com · Package · Active
Rust library that parses human-readable strings into durations
- Developer tools
- Package
- Rust
- Day-7 check
- Day-30 check
- rust
- parsing
- duration
- crate
- rust crate
- duration parser
- time parsing
- std duration
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit
- Releases
- 7
- Found
- 15 months ago
GitHub figures as of . They are context, not a ranking.
durstr is a small Rust library that parses human-readable duration strings, such as 12 minutes and 21 seconds, into std::time::Duration. It offers a parse function for quick use and a configurable Parser for options such as case-insensitive unit names, which suits Rust developers who accept durations in plain words.
Repository description on GitHub: “A simple library for parsing human-readable strings into durations.”
What it does
- Parses strings such as 1hr 2min 3sec into a Duration
- Convenience parse function with default options
- Configurable Parser, for example for case-insensitive units
- Empty or whitespace-only input returns a zero duration
Good for
- Accept durations typed in plain words in a Rust CLI
- Parse timeouts written as text in configuration values
Suits: Rust developers who parse duration text.
What you can try
Add it to a Rust project with cargo add durstr.
Install
cargo install durstrConfirmed against the package registry. Read the project’s own instructions before running anything.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw durstr on , when it was first published on crates.io. The oldest published release on GitHub is v0.1.0, dated . Its first tagged release landed the same day it was found. 7 releases have been published in total; the latest is v0.6.0 ().
Day-7 and day-30 updates
Day 7 2 releases shipped
Checked , later than day 7 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: iksuddle/durstr
- Release v0.1.0
- Found: it was first published on crates.io. crates.io
- Release v0.2.0
- Release v0.3.0
- Release v0.4.0
- Release v0.5.0
- Release v0.5.1
- Release v0.6.0
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was durstr released?
- Its first tagged release on GitHub is dated 14 Aug 2025. Kip found it on crates.io on 14 Aug 2025.
- Is durstr open source?
- Its source is public on GitHub at iksuddle/durstr under the MIT licence.
- What does durstr run on?
- Library.
- Is durstr free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is durstr still maintained?
- Yes. It had a commit or release in the last 90 days as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| crates.io | listing official API record | |
| GitHub repository | iksuddle/durstr REST API record | |
| GitHub Releases | release list REST API record |
Stable ID crates-durstr. Summary written by KipFound’s editor.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.