ua-parser
Rust implementation of the User Agent String Parser project
0.2.2
7.9M downloads/mo
#3541 most downloaded on crates.io
ua-parser/uap-rust
What this package is like to depend on
Last release 5 months ago
22 Mar 2026
Ships on a steady schedule
a new release about every 11 months
Most releases are documented
notes for 3 of 4 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
4 releases · first in 2024
1 release in the last 12 months
see the full history below
Release timeline
4 releases · Jun 2024 to Mar 2026Releases
latest 4-
0.2.222 Mar 2026Release notes
Open source →Added
Cloneon the variousValueandValueReftypes (#40, contributed by @mplanchard)
Other
- updated to edition 2024
- updated to regex-filtered 0.2.1 with various performance improvements and bug fixes
-
0.2.109 Jun 2025Release notes
Open source →Fixed
- unicode casefolding (#58), due to divergence in casefolding between aho-corasick (ascii only) and regex (full unicode) regexes containing uppercase unicode literals would not be properly selected by the prefilter
Optimized
- replaced
IndexSet<NoHash>by a bespoke IntSet, yielding ~10% throughput improvement and removing the dependencies onindexmapandnohash - repetitions expansions into atoms (#53), repetitions would not be expanded leading to atoms of length 1, and unnecessary acceptance of regexes
- quality of atoms generated by concatenation (#53), allowing subsequent patterns to properly concatenate into atoms generated by concatenation
Other
- updated to edition 2024
Release notes
Open source →- fix regex rewriting which didn't trigger properly in a significant number of cases: any repetition following an explicit character class would be left as-is, leading to memory use being cut down by ~60% (and #2 should have cut down memory use by 75% rather than 15-ish...) #29
- use an atom length of 2 for device parsers, improves performance by
40% at essentially no memory cost, don't touch ua and os as it reduces their performances by 510% instead #31 / #32
-
0.2.022 Jun 2024Release notes
Open source →The performance fixes to regex-filtered definitely seem significant
enough to cut a release already, especially as they do impact
ua-parser quite dramatically (~30% performance improvement on the
bench script using DailyMotion's sample and the master regexes from
uap-core). -
0.1.017 Jun 2024Nothing published for this version