| Crates.io | formatjs_icu_messageformat_parser |
| lib.rs | formatjs_icu_messageformat_parser |
| version | 0.2.2 |
| created_at | 2025-12-22 02:55:47.339685+00 |
| updated_at | 2026-01-06 23:34:35.554145+00 |
| description | ICU MessageFormat parser implementation in Rust |
| homepage | https://formatjs.io/ |
| repository | https://github.com/formatjs/formatjs |
| max_upload_size | |
| id | 1998947 |
| size | 229,375 |
Hand-written ICU MessageFormat parser with compatible output as
intl-messageformat-parser
but 6 - 10 times as fast.
$ bazel run //packages/icu-messageformat-parser/benchmark:benchmark
complex_msg AST length 2599
normal_msg AST length 400
simple_msg AST length 79
string_msg AST length 36
complex_msg x 58,910 ops/sec ±0.33%
normal_msg x 405,440 ops/sec ±0.53%
simple_msg x 2,592,098 ops/sec ±0.44%
string_msg x 4,511,129 ops/sec ±2.22%