formatjs_icu_messageformat_parser

Crates.ioformatjs_icu_messageformat_parser
lib.rsformatjs_icu_messageformat_parser
version0.2.2
created_at2025-12-22 02:55:47.339685+00
updated_at2026-01-06 23:34:35.554145+00
descriptionICU MessageFormat parser implementation in Rust
homepagehttps://formatjs.io/
repositoryhttps://github.com/formatjs/formatjs
max_upload_size
id1998947
size229,375
Long Ho (longlho)

documentation

https://docs.rs/formatjs_icu_messageformat_parser

README

MessageFormat Parser

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%
Commit count: 5993

cargo fmt