Robert Bastian

Results 390 comments of Robert Bastian
trafficstars

> Add a datagen format that is a code module API-compatible with compiled data but backed by an FS data provider You've proposed this before and it doesn't work because...

Your proposal sacrifices constness to make this work. Are you also planning to sacrifice infallibility, or do have a solution for infallibly loading postcard data?

If you want to switch between compiled data and postcard without call-site changes, you cannot use `.unwrap_infallible()` (which is unstable anyway) at the call sites, because you have to handle...

> Maybe the postcard deserializer can run on startup in an initialization step that populates the &'static references? And when it fails it panics? I don't see how this type...

@sffc and I agree that this can be 3.0

For categories (https://crates.io/categories) we probably want to set i18n, l10n, and no_std.

`icu_list` has a couple of invariants that are not available on `icu_pattern`, specifically that `{0}` and `{1}` have to appear in that order, and that nothing can precede the `{0}`...

> The list data struct could apply the additional invariants during deserialization. Then I'm basically writing a new pattern type. As I already have a pattern type I don't see...

Discuss with: * @sffc * @zbraniecki * @robertbastian

- @zbraniecki - I had originally envisioned preferences as a util, but now it contains semantic data for Unicode extension keywords, so it seems fine as a component. For pattern,...