8 releases (stable)

1.4.0 Nov 17, 2023
1.3.2 Oct 3, 2023
1.3.0 Sep 24, 2023
1.2.1 Apr 26, 2023
0.6.0 May 17, 2022

#387 in Internationalization (i18n)

40 downloads per month

Custom license

1MB
18K SLoC

JavaScript 8K SLoC // 0.0% comments Rust 7K 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_freertos crates.io

This crate is a shim that enables one to use icu4x on Cortex-M + FreeRTOS by setting up the relevant Rust runtime hooks.

Note that compiling to this platform needs Rust nightly, and this crate attempts to build across multiple nightly versions.

This crate has a build script that will attempt to detect the nightly version and configure things appropriately, where possible. Older nightlies will end up setting the --cfg needs_alloc_error_handler flag: if using a custom build system and a nightly from 2022 or earlier, please set this flag.

More Information

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


lib.rs:

This crate is a shim that enables one to use icu4x on Cortex-M + FreeRTOS by setting up the relevant Rust runtime hooks.

Note that compiling to this platform needs Rust nightly, and this crate attempts to build across multiple nightly versions.

This crate has a build script that will attempt to detect the nightly version and configure things appropriately, where possible. Older nightlies will end up setting the --cfg needs_alloc_error_handler flag: if using a custom build system and a nightly from 2022 or earlier, please set this flag.

Dependencies

~11MB
~165K SLoC