Bug 1888590 - Mark some subtests on trusted-types-event-handlers.html as failing...
[gecko.git] / third_party / rust / intl_pluralrules / README.md
blob50191d962ac181fda2be50624b318a6fcf3fba2c
1 # INTL Plural Rules
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.
12 Status
13 ------
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:
21         cargo regenerate-data
23 You will need to replace the JSON files under `/cldr_data/` with your new CLDR JSON files.
25 Local Development
26 -----------------
28     cargo build
29     cargo test
31 When submitting a PR please use  `cargo fmt`.
33 Contributors
34 ------------
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