18 stable releases
| 2.2.0 | Apr 1, 2026 |
|---|---|
| 2.1.2 | Feb 9, 2026 |
| 2.1.1 | Oct 28, 2025 |
| 2.0.2 | May 27, 2025 |
| 0.6.0 | May 17, 2022 |
#668 in Internationalization (i18n)
35,904 downloads per month
Used in 9 crates
(2 directly)
6.5MB
90K
SLoC
icu_capi 
This crate contains the extern "C" FFI for ICU4X, as well as the Diplomat-generated
C and C++ headers. ICU4X is also available for JavaScript/TypeScript through npm, and for
Dart through pub.dev.
🔗 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.
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.3–6.5MB
~81K SLoC