3 `intl_pluralrules` categorizes numbers by plural operands. See [Unicode Plural Rules](https://unicode.org/reports/tr35/tr35-numbers.html#Language_Plural_Rules)
6 [![crates.io](https://img.shields.io/crates/v/intl_pluralrules.svg)](https://crates.io/crates/intl_pluralrules)
7 [![Build Status](https://travis-ci.org/zbraniecki/pluralrules.svg?branch=master)](https://travis-ci.org/zbraniecki/pluralrules)
8 [![Coverage Status](https://coveralls.io/repos/github/zbraniecki/pluralrules/badge.svg?branch=master)](https://coveralls.io/github/zbraniecki/pluralrules?branch=master)
10 This library is intended to be used to find the plural category of numeric input.
15 Currently produces operands compliant with CLDR 36 into Rust 1.31 and above.
17 **Updating CLDR Data**
19 If you would like to update rules.rs with plural rules that are not the specified version above (e.g. future versions of CLDR or external CLDR-compliant rules), you can regenerate the logic in rules.rs with the command:
23 You will need to replace the JSON files under `/cldr_data/` with your new CLDR JSON files.
31 When submitting a PR please use `cargo fmt`.
36 * [manishearth](https://github.com/manishearth)
38 Thank you to all contributors!
40 [CLDR]: https://cldr.unicode.org/
41 [PluralRules]: https://cldr.unicode.org/index/cldr-spec/plural-rules
42 [LDML Language Plural Rules Syntax]: https://unicode.org/reports/tr35/tr35-numbers.html#Language_Plural_Rules