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

#384 in Internationalization (i18n)

Download history 74046/week @ 2024-07-23 71340/week @ 2024-07-30 71806/week @ 2024-08-06 67377/week @ 2024-08-13 62056/week @ 2024-08-20 63336/week @ 2024-08-27 74954/week @ 2024-09-03 73471/week @ 2024-09-10 86185/week @ 2024-09-17 118791/week @ 2024-09-24 126907/week @ 2024-10-01 121864/week @ 2024-10-08 115583/week @ 2024-10-15 103336/week @ 2024-10-22 168318/week @ 2024-10-29 607147/week @ 2024-11-05

1,013,528 downloads per month
Used in 27,692 crates (14 directly)

Unicode-3.0

785KB
12K 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.8MB
~19K SLoC