capi: Separate data loading from ICU4X APIs #560
Labels
A-ffi
Area: FFI, WebAssembly, Transpilation
C-data-infra
Component: provider, datagen, fallback, adapters
C-ffi-infra
Component: Diplomat, horizontal FFI
R-obsolete
Resolution: This issue is no longer relevant
S-medium
Size: Less than a week (larger bug fix or enhancement)
T-core
Type: Required functionality
Milestone
Followup of #552
See https://github.com/unicode-org/icu4x/blob/68d6b2bdcfbf36c7d25848a71009a2159ea3d780/docs/research/wrapper_layer.md
We should improve our APIs to expose lower level "you do the data loading for me" APIs such that they can be exposed at the FFI level.
This is technically possible already by writing one-off data providers that are capable of only providing the data you have already loaded, but this is more of a hack.
There are two steps to this:
PluralRules
, etc which take in their required data objectsThe text was updated successfully, but these errors were encountered: