14 stable releases

2.0.2 May 27, 2025
2.0.0-beta2 Feb 26, 2025
2.0.0-beta1 Nov 23, 2024
1.5.1 Jun 25, 2024
0.6.0 May 17, 2022

#499 in Internationalization (i18n)

Download history 3626/week @ 2025-05-24 3418/week @ 2025-05-31 3770/week @ 2025-06-07 4404/week @ 2025-06-14 3839/week @ 2025-06-21 3139/week @ 2025-06-28 4421/week @ 2025-07-05 4326/week @ 2025-07-12 3485/week @ 2025-07-19 5210/week @ 2025-07-26 4526/week @ 2025-08-02 6792/week @ 2025-08-09 7248/week @ 2025-08-16 6306/week @ 2025-08-23 5396/week @ 2025-08-30 3629/week @ 2025-09-06

23,403 downloads per month
Used in 3 crates

Unicode-3.0

5.5MB
81K SLoC

Rust 58K SLoC // 0.0% comments JavaScript 19K SLoC // 0.3% comments TypeScript 3K SLoC // 0.7% comments

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.

Dependencies

~1–14MB
~99K SLoC