tree: b57a31a371a4f58b5743609ba6525b4a75713b4e
  1. capi/
  2. dart/
  3. ecma402/
  4. freertos/
  5. mvn/
  6. npm/
  7. README.md
ffi/README.md

ICU4X FFI crates

This folder contains various FFI wrappers for ICU4X.

The primary ICU4X FFI is generated via Diplomat and can be found under ffi/capi, alongside generated C, C++, JS, TS, and Dart bindings.

In C and C++, the bindings in ffi/capi/bindings can be directly used and linked against a compiled version of icu_capi. See our C++ example for more info.

For JS/TS we provide an NPM package in ffi/npm. This is currently not published on NPM.

For Dart we provide a package in ffi/dart. This is not currently published on pub.dev.

For use in FreeRTOS, we provide a special wrapper in ffi/freertos. This uses the FreeRTOS allocator and can be linked directly with a FreeRTOS firmware.