[][src]Crate make_pluralrules

make_pluralrules generates a Rust code representation of CLDR plural rules in compliance with Unicode.

Representations of plural rules are generated from Unicode's plural rules and uses the intl_pluralrules_parser AST to build the representation.

The ouput is a Rust file, specified by the user in the comand

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



Takes a string representation of a CLDR JSON file and produces a string representation of the generated Rust code for the plural rules.