From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- vendor/intl_pluralrules/README.md | 42 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 vendor/intl_pluralrules/README.md (limited to 'vendor/intl_pluralrules/README.md') diff --git a/vendor/intl_pluralrules/README.md b/vendor/intl_pluralrules/README.md new file mode 100644 index 000000000..6195142cd --- /dev/null +++ b/vendor/intl_pluralrules/README.md @@ -0,0 +1,42 @@ +# INTL Plural Rules + +`intl_pluralrules` categorizes numbers by plural operands. See [Unicode Plural Rules](http://unicode.org/reports/tr35/tr35-numbers.html#Language_Plural_Rules) + + +[![crates.io](http://meritbadge.herokuapp.com/intl_pluralrules)](https://crates.io/crates/intl_pluralrules) +[![Build Status](https://travis-ci.org/zbraniecki/pluralrules.svg?branch=master)](https://travis-ci.org/zbraniecki/pluralrules) +[![Coverage Status](https://coveralls.io/repos/github/zbraniecki/pluralrules/badge.svg?branch=master)](https://coveralls.io/github/zbraniecki/pluralrules?branch=master) + +This library is intended to be used to find the plural category of numeric input. + +Status +------ + +Currently produces operands compliant with CLDR 36 into Rust 1.31 and above. + +**Updating CLDR Data** + +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: + + cargo regenerate-data + +You will need to replace the JSON files under `/cldr_data/` with your new CLDR JSON files. + +Local Development +----------------- + + cargo build + cargo test + +When submitting a PR please use `cargo fmt`. + +Contributors +------------ + +* [manishearth](https://github.com/manishearth) + +Thank you to all contributors! + +[CLDR]: http://cldr.unicode.org/ +[PluralRules]: http://cldr.unicode.org/index/cldr-spec/plural-rules +[LDML Language Plural Rules Syntax]: http://unicode.org/reports/tr35/tr35-numbers.html#Language_Plural_Rules -- cgit v1.2.3