Decision Workspace
purrdf-lex vs icu_plurals vs icu_normalizer
Side-by-side comparison of Rust crates
Native lexical foundations for PurRDF's grammars, over the zero-dependency purrdf-hash root: the exact Turtle/SPARQL/XML/ECMA-262 character-class terminals and escape decoders, chunked byte-class scanners and needle searches that lower to packed compares, the RFC 8259 JSON string escaper and decoder, the JSON reader, value and deterministic writer, the YAML 1.2 reader and emitter, the RFC 8949 CBOR codec, RFC 6901 JSON Pointer tokens, RFC 3986 percent-encoding, Unicode normalization (NFC, NFD, NFKC, NFKD) as streaming stages, the RDF 1.2 term syntax with its IRI and literal escapers, an XML 1.0 + Namespaces reader, Crockford Base32, ordered association lists, and the heap work lists, iteratively dropped boxes and derive-exact Debug writer that deep trees walk with instead of the machine stack
Unicode Plural Rules categorizer for numeric input
API for normalizing text into Unicode Normalization Forms
Core Metrics
| purrdf-lex | icu_plurals | icu_normalizer | |
|---|---|---|---|
| Health Score | 50 | 75 | 71 |
| Total Downloads | 282 | 12.8M | 621.5M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 48 | 402 | 681 |
| Releases | 3 | 21 | 20 |
| Last Updated | 7d ago | 57d ago | 57d ago |
| Age | 9d | 5y 12m | 5y 5m |
Health Breakdown
Technical Details
| purrdf-lex | icu_plurals | icu_normalizer | |
|---|---|---|---|
| Version | 3.0.1 | 2.3.0 | 2.3.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | (MIT OR Apache-2.0 OR MulanPSL-2.0) AND MIT AND Unicode-3.0 | Unicode-3.0 | Unicode-3.0 |
| Dependencies | 2 | 12 | 16 |
| Crate Size | 2.1MB | 51KB | 531KB |
| Features | 0 | 6 | 9 |
| Yanked % | 33.3% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.98 | 1.88 | 1.88 |
| Owners | 1 | 2 (team) | 2 (team) |
Links
Quick Verdict
- •icu_plurals leads with a health score of 75/100, but none of the options score above 80.
- •icu_normalizer has the most downloads (621.5M), suggesting wider adoption.
- •icu_normalizer is depended on by 681 crates — strongest ecosystem trust.