gecko-dev/intl/icu_capi
2024-06-20 17:42:11 +00:00
..
bindings Bug 1899411 - Part 2. Update icu_capi and icu_segmenter_data to 1.5. r=TYLin 2024-06-17 02:03:24 +00:00
src Bug 1899411 - Part 2. Update icu_capi and icu_segmenter_data to 1.5. r=TYLin 2024-06-17 02:03:24 +00:00
tests Bug 1899411 - Part 2. Update icu_capi and icu_segmenter_data to 1.5. r=TYLin 2024-06-17 02:03:24 +00:00
.cargo_vcs_info.json Bug 1899411 - Part 2. Update icu_capi and icu_segmenter_data to 1.5. r=TYLin 2024-06-17 02:03:24 +00:00
Cargo.toml Bug 1899177 - Part 1: Enable "icu_calendar" feature from ICU4X. r=spidermonkey-reviewers,supply-chain-reviewers,glandium,sylvestre,mgaudet 2024-06-20 17:42:11 +00:00
LICENSE Bug 1899411 - Part 2. Update icu_capi and icu_segmenter_data to 1.5. r=TYLin 2024-06-17 02:03:24 +00:00
README.md Bug 1899411 - Part 2. Update icu_capi and icu_segmenter_data to 1.5. r=TYLin 2024-06-17 02:03:24 +00:00

icu_capi crates.io

This crate contains the source of truth for the Diplomat-generated FFI bindings. This generates the C, C++, JavaScript, and TypeScript bindings. This crate also contains the extern "C" FFI for ICU4X.

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 exposed under the cpp/ and js/ folders.

This crate may still be explored for documentation on docs.rs, and there are language-specific docs available as well. C++, Dart, and TypeScript headers contain inline documentation, which is available pre-rendered: C++, TypeScript.

This crate is no_std-compatible. If you wish to use it in no_std mode, you must write a wrapper crate that defines an allocator and a panic hook in order to compile as a C library.

More information on using ICU4X from C++ can be found in our tutorial.

More Information

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