8 releases (stable)

1.5.0 May 28, 2024
1.4.0 Nov 16, 2023
1.3.2 Oct 3, 2023
1.3.0 Sep 23, 2023
1.0.0-beta1 Aug 5, 2022

#362 in Internationalization (i18n)

Download history 7603/week @ 2024-03-28 8778/week @ 2024-04-04 10264/week @ 2024-04-11 11677/week @ 2024-04-18 10535/week @ 2024-04-25 11585/week @ 2024-05-02 10407/week @ 2024-05-09 11164/week @ 2024-05-16 11292/week @ 2024-05-23 10599/week @ 2024-05-30 260854/week @ 2024-06-06 564750/week @ 2024-06-13 234706/week @ 2024-06-20 152742/week @ 2024-06-27 76648/week @ 2024-07-04 60523/week @ 2024-07-11

561,170 downloads per month
Used in 199 crates (14 directly)

Unicode-3.0

1MB
14K 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–0.9MB
~20K SLoC