icu_capi

Crates.ioicu_capi
lib.rsicu_capi
version2.0.2
created_at2022-05-17 17:05:55.516341+00
updated_at2025-05-27 15:35:47.791992+00
descriptionC interface to ICU4X
homepagehttps://icu4x.unicode.org
repositoryhttps://github.com/unicode-org/icu4x
max_upload_size
id588503
size4,719,590
Manish Goregaokar (Manishearth)

documentation

README

icu_capi crates.io

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.

More Information

For more information on development, authorship, contributing etc. please visit ICU4X home page.

Commit count: 4409

cargo fmt