Crate icu_capi

Crate icu_capi 

Source
Expand description

This crate contains the extern "C" FFI for ICU4X, as well as the Diplomat-generated C, C++, Dart, JavaScript, and TypeScript bindings.

๐Ÿ”— See the ICU4X website for FFI docs and examples

This crate is no_std-compatible, but requires an allocator. If you wish to use it in no_std mode, you can either enable the looping_panic_handler and libc_alloc Cargo features, or write a wrapper crate that defines an allocator/panic handler.

๐Ÿšง While the types in this crate are public, APIs from this crate are not intended to be used from Rust and as such this crate may unpredictably change its Rust API across compatible semver versions.

The extern โ€œCโ€ APIs exposed by this crate, while not directly documented, are stable within the same major semver version, as are the bindings in the bindings folder.

Modulesยง

unstable
The Rust API of this crate is UNSTABLE; this crate is primarily intended to be used from its FFI bindings, packaged with the crate.