icu4x
icu4x copied to clipboard
Solving i18n for client-side and resource-constrained environments.
A general DataBake feature that would solve several problems, including #2417, would be a way to specify a different data struct as the serialized form of the main data struct,...
Feedback from @markusicu, which I very much agree with, is to rename `icu::locid::extensions::private::Key` and `::other::Key` to `Subtag` instead of `Key`. Markus says that the spec does not make any statements...
This PR is based on the excellent feedback on https://github.com/unicode-org/icu4x/issues/2348#issuecomment-1249563656. I made the following improvements: 1. A brand new documentation page about constructors, which includes a decision chart similar to...
Many of our APIs take `ResourceProvider`s, but we don't currently have a way to combine two `ResourceProvider`s into one that implements both.
Add aligned vs. unaligned benches with two slices where index into the second is read from the first
As a follow-up to #1391, it would be relevant to have a benchmark that more closely tests the access pattern that is relevant to `CodePointTrie`: Having two slices where the...
Fixes #1668.
@markusicu had the following suggestions for icu_locid docs that don't affect the API surface: - [ ] In various functions that take UTF-8 bytes, change it to say "ASCII bytes"...
They are internal things, except for potentially removing the `DataKeyHash::to_bytes` API (which I prefer to keep). See #2565
After 1.0 we have to be careful not to violate [semver requirements](https://doc.rust-lang.org/cargo/reference/semver.html). We can use the [`rust-semverver`](https://github.com/rust-lang/rust-semverver) tool to generate a report for each PR.
Based on extensive discussion surrounding #2506, we decided to move forward with a design that adds `DataProvider` in `LocaleFallbacker::try_new_unstable`, meaning that this key is unconditionally matched when fallback is used,...