$ icu_properties_data

v2.1.2

Data for the icu_properties crate

Downloads: 158.6M
Recent: 51.1M
Versions: 15
Updated: December 9, 2025

Latest Update Summary

Crate

Name: icu_properties_data New version: 2.1.0 Release date: 2025-05-07T21:21:21Z

Crate readme

Short description ICU4X provides components enabling wide range of software internationalization.

Long description ICU4X is a fully Rust-implemented project that supplies internationalization solutions for modern platforms and resource-constrained environments. It follows key design principles such as small and modular code, pluggable locale data, and an API compatible with ECMA-402. The crate aims for availability across various programming languages, including Rust, JavaScript, Objective-C, Java, Dart, and C++. It is developed by the ICU4X Technical Committee.

Features • Small and modular code • Pluggable locale data • ECMA-402-compatible API surface • Supports programming languages including Rust, JavaScript, Objective-C, Java, Dart, and C++

Code Examples Add to Cargo.toml

 [dependencies]
icu = "2.0.0"

Basic usage

 use icu::calendar::Date;
use icu::datetime::{DateTimeFormatter, fieldsets::YMD};
use icu::locale::locale;

let dtf = DateTimeFormatter::try_new(
    locale!("es").into(),
    YMD::long()
)
.expect("locale should be present in compiled data");

let date = Date::try_new_iso(2020, 9, 12).expect("date should be valid");

let formatted_date = dtf.format(&date).to_string();
assert_eq!(
    formatted_date,
    "12 de septiembre de 2020"
);

Linkshttps://icu4x.unicode.orghttps://crates.io/crates/icuhttps://github.com/unicode-org/icu4xhttps://unicode.orghttps://www.unicode.org/policies/licensing_policy.html

https://api.github.com/repos/unicode-org/icu4x/releases/217170091

Release info

Release version: 2.0

Release description The ICU4X Technical Committee announced ICU4X 2.0, a significant update to their i18n library, which follows changes made since ICU4X 1.5. Key highlights include the introduction of preference objects, which allow for more efficient handling of locale information through preference bags rather than direct locale objects. This version also brings a complete rewrite of the icu::datetime component, improving performance and usability while introducing the new icu::time component to manage date, time, and time zone representations with a focus on internationalization (i18n). Furthermore, there has been a thorough overhaul of the foreign function interface (FFI), with enhancements in C++ namespaces, function versioning, and universal updates across all supported languages. The update also emphasizes performance improvements through the introduction of borrowed variants, and all components now include the latest CLDR and Unicode data versions.

Code Examples

Patch update: 2.1.1 → 2.1.2

$ DOWNLOADS TREND

116.2M158.6M

$ VERSION HISTORY

v2.1.2December 9, 2025
v2.1.1October 28, 2025
v2.1.0October 28, 2025
v2.0.1May 19, 2025

$ LINKS

$ INSTALL

cargo add icu_properties_data

Or add to Cargo.toml: icu_properties_data = "2.1.2"