5 releases

0.3.3 Aug 7, 2018
0.3.2 Aug 3, 2018
0.3.1 Jul 30, 2018
0.3.0 Jul 27, 2018
0.2.0 Jul 25, 2018

#14 in Internationalization (i18n)

Download history 4/week @ 2018-07-25 45/week @ 2018-08-01 77/week @ 2018-08-08

42 downloads per month

Make Plural Rules

make_pluralrules is a coe generator applications that turns a [CLDR plural rules][] AST into Rust code.

crates.io Build Status Coverage Status

The application is intended to generate code necessary for calculating correct plural rules categories.

Status

The generator currently generates code for cardinal plural rules from CLDR 33 into Rust 1.27 and above.

Launch make_pluralrules with:

cargo run -- -i <./path/to/cldr.json>... -o <./path/to/output.rs>

Local Development

cargo build
cargo test

When submitting a PR please use cargo fmt.

Apache-2.0/MIT license

Dependencies

Reverse deps