opened
filmil
username_0
Here is a draft implementation of ECMA 402 API surface that was proposed here: https://github.com/google/rust_icu/blob/master/experimental/ecma402_listformat/src/lib.rs

Before I equip it with better docs and README content, initial thoughts from y'all would be welcome.

@kpozin `uloc`  now depends on the `ecma402_traits`, which means we need to import it in Fuchsia too. It seemed that if I created a new aliased type for the locale, we'd not get much in return except we'd get the decoupling.
Ecma402 traits
issue
created
filmil
username_0
@zbraniecki
comment
created
filmil
username_0
An amusing bit is that the implementation revealed a few practical issues that `rust_icu` must resolve in order to support ECMA 402.  One of them is that the list formatting support we need for ECMA 402 is available only since ICU 67 (!), and that in practice, systems use ICUs as far back as ICU 63. (each version increment is about 6 months IIRC).

So, a few conditional compilation experiments later, there's something that works on ICU 67, and gives suboptimal but still useful results on ICU 66 and lower.
comment
created
filmil
username_0
comment