✓ Uses Rust 2018 edition
|0.4.2||Jan 7, 2019|
|0.4.1||Oct 26, 2018|
|0.4.0||Aug 15, 2018|
|0.3.3||Aug 7, 2018|
|0.2.0||Jul 25, 2018|
#43 in Internationalization (i18n)
90 downloads per month
make_pluralrules is a coe generator applications that turns a Unicode CLDR plural rules AST into Rust code.
The application is intended to generate code necessary for calculating correct plural rules categories.
The generator currently generates code for cardinal plural rules from CLDR 34 into Rust 1.31 and above.
Launch make_pluralrules with:
cargo run -- -i <./path/to/cldr.json>... -o <./path/to/output.rs>
cargo build cargo test
If you want to update the test fixtures to match your latest changes, please use:
cargo regenerate-fixtures_within | cargo regenerate-fixtures
When submitting a PR please use
Thank you to all contributors!