6 stable releases

1.4.0 Nov 17, 2023
1.3.2 Oct 3, 2023
1.3.0 Sep 24, 2023
1.2.0 Apr 14, 2023
1.0.0 Sep 27, 2022

#36 in #icu4x

Custom license

1.5MB
22K SLoC

Rust 10K SLoC // 0.0% comments JavaScript 8K SLoC // 0.0% comments TypeScript 2K SLoC // 0.7% comments C++ 1K SLoC // 0.0% comments C 427 SLoC // 0.1% comments Python 54 SLoC // 0.6% comments Batch 51 SLoC // 0.1% comments

icu_capi_staticlib crates.io

This exists as a separate crate to work around cargo being unable to conditionally compile crate-types.

This leads to problems like emscripten being unable to link because symbols like log_js are not defined even if the crate_type is not actually desired. As a workaround, the icu_capi_staticlib and icu_capi_cdylib crates exist as endpoints to be built when those respective library types are needed.

More Information

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


lib.rs:

This exists as a separate crate to work around cargo being unable to conditionally compile crate-types.

This leads to problems like emscripten being unable to link because symbols like log_js are not defined even if the crate_type is not actually desired. As a workaround, the icu_capi_staticlib and icu_capi_cdylib crates exist as endpoints to be built when those respective library types are needed.

Dependencies

~2–13MB
~122K SLoC