7 releases (stable)

1.4.0 Nov 17, 2023
1.3.2 Oct 3, 2023
1.3.0 Sep 24, 2023
1.2.0 Apr 14, 2023
0.6.0 May 17, 2022

#492 in Internationalization (i18n)

27 downloads per month

Custom license

1.5MB
22K SLoC

Rust 12K SLoC // 0.0% comments JavaScript 8K SLoC // 0.0% comments TypeScript 1.5K SLoC // 0.7% comments

icu_capi_cdylib 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–14MB
~111K SLoC