9 releases (stable)

2.0.0-beta1 Nov 23, 2024
1.5.0 May 28, 2024
1.4.0 Nov 16, 2023
1.2.0 Apr 14, 2023
1.0.0 Sep 27, 2022

#387 in Internationalization (i18n)

Download history 63304/week @ 2024-08-21 63838/week @ 2024-08-28 75669/week @ 2024-09-04 73477/week @ 2024-09-11 97310/week @ 2024-09-18 118894/week @ 2024-09-25 128120/week @ 2024-10-02 118972/week @ 2024-10-09 111935/week @ 2024-10-16 101511/week @ 2024-10-23 273341/week @ 2024-10-30 757376/week @ 2024-11-06 870445/week @ 2024-11-13 908389/week @ 2024-11-20 936983/week @ 2024-11-27 877337/week @ 2024-12-04

3,739,310 downloads per month
Used in 22,726 crates (15 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.3–0.9MB
~19K SLoC