7 releases (stable)

1.4.0 Nov 16, 2023
1.3.2 Oct 3, 2023
1.3.0 Sep 23, 2023
1.2.0 Apr 14, 2023
1.0.0-beta1 Aug 5, 2022

#365 in Internationalization (i18n)

Download history 6057/week @ 2023-10-30 5907/week @ 2023-11-06 6062/week @ 2023-11-13 6952/week @ 2023-11-20 7051/week @ 2023-11-27 7903/week @ 2023-12-04 6880/week @ 2023-12-11 6139/week @ 2023-12-18 4156/week @ 2023-12-25 7045/week @ 2024-01-01 8118/week @ 2024-01-08 7682/week @ 2024-01-15 8348/week @ 2024-01-22 8137/week @ 2024-01-29 7824/week @ 2024-02-05 7491/week @ 2024-02-12

32,443 downloads per month
Used in 49 crates (14 directly)

Custom license

1MB
17K SLoC

icu_collections crates.io

Efficient collections for Unicode data.

This module is published as its own crate (icu_collections) and as part of the icu crate. See the latter for more details on the ICU4X project.

ICU4X CodePointTrie provides a read-only view of CodePointTrie data that is exported from ICU4C. Detailed information about the design of the data structure can be found in the documentation for the CodePointTrie struct.

ICU4X CodePointInversionList provides necessary functionality for highly efficient querying of sets of Unicode characters. It is an implementation of the existing ICU4C UnicodeSet API.

ICU4X Char16Trie provides a data structure for a space-efficient and time-efficient lookup of sequences of 16-bit units (commonly but not necessarily UTF-16 code units) which map to integer values. It is an implementation of the existing ICU4C UCharsTrie / ICU4J CharsTrie API.

More Information

For more information on development, authorship, contributing etc. please visit ICU4X home page.

Dependencies

~0.4–1MB
~20K SLoC