PackageTrack
Sign in Get early access

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 2026
2025 2026
Release Pre-release

Releases

latest 4
  1. 0.2.2 22 Mar 2026
    Release notes

    Added

    • Clone on the various Value and ValueRef types (#40, contributed by @mplanchard)

    Other

    • updated to edition 2024
    • updated to regex-filtered 0.2.1 with various performance improvements and bug fixes
    Open source →
  2. 0.2.1 09 Jun 2025
    Release notes

    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 on indexmap and nohash
    • 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
    Open source →
    Release notes
    • 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
    Open source →
  3. 0.2.0 22 Jun 2024
    Release notes

    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).

    Open source →
  4. 0.1.0 17 Jun 2024

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive