unicode-org / icu4x

Solving i18n for client-side and resource-constrained environments.
https://icu4x.unicode.org
Other
1.37k stars 175 forks source link

Feature-gate UTF8 and UTF16 normalization #4988

Open kirawi opened 5 months ago

kirawi commented 5 months ago

It reduces dependencies and compilation time.

sffc commented 5 months ago

It would remove utf8_iter and utf16_iter.

These are small dependencies that we use fairly widely in icu4x.

robertbastian commented 4 months ago

utf8_iter can be removed at 1.79 MSRV because it gets added to the standard library: https://doc.rust-lang.org/std/primitive.slice.html#method.utf8_chunks