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

#322 in Internationalization (i18n)

Download history 7418/week @ 2024-01-02 7749/week @ 2024-01-09 7640/week @ 2024-01-16 8541/week @ 2024-01-23 7593/week @ 2024-01-30 7741/week @ 2024-02-06 8274/week @ 2024-02-13 10742/week @ 2024-02-20 7947/week @ 2024-02-27 9461/week @ 2024-03-05 10344/week @ 2024-03-12 9353/week @ 2024-03-19 7661/week @ 2024-03-26 8319/week @ 2024-04-02 9666/week @ 2024-04-09 9773/week @ 2024-04-16

37,025 downloads per month
Used in 92 crates (13 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
~21K SLoC