Shane F. Carr
Shane F. Carr
The [latest CLDR proposal](https://docs.google.com/document/d/1NbXHVfitfbm0m2c3zftvCYAdLkurwIC5u1W5HHwWYt8/edit) uses "-and-" as an infix, like "-per-", with quantities measured in the largest unit. So, for example, 4.25 with unit "foot-and-inch" would be rendered as "4...
@younies Can you add support for mixed units to the Smart Units proposal?
@rxaviers The code is *almost* right, except that the ListFormat width should match the unit width, and the first value should be floored, not rounded up. From an i18n functionality...
The spec has been finalized in CLDR for some time now: https://www.unicode.org/reports/tr35/tr35-general.html#62-unit-identifiers
@nordzilla Can you take a look? It is in the `tzif` crate.
There's only one reason: `AnyPayload` can be created from a `&'static dyn Any` whereas `DataPayload` always allocates into a `Box`. If someone can find a way to make an alloc-free...
Related: #1893, #3935
Action items: 1. Change `AnyPayloadProvider` to `ConstProvider` / `FixedProvider` / `DataStructProvider` 2. @sffc or @Manishearth to try migrating `AnyPayload` to `DataPayload`. If successful, delete `AnyPayload` and `AnyProvider`.
Did we discuss whether we can get rid of `try_new_with_any_provider` constructors?
That was the theory, but one cannot simply use baked data across ICU4X minor versions, because: 1. Baked data code from 1.x won't build against 1.y because provider struct signatures...