$ icu_normalizer_data
v2.2.0MAJOR UPDATEData for the icu_normalizer crate
Latest Update Summary
Crate
Name: icu_normalizer_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 fully implemented in the Rust programming language and aims to provide a small and modular codebase, pluggable locale data, and ease of use across multiple programming languages. It targets client-side and resource-constrained environments, offering an ECMA-402-compatible API surface across various platforms including the web, iOS, Android, and more.
Features • Small and modular code • Pluggable locale data • ECMA-402-compatible API surface • Availability in multiple 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"
);
Links • https://icu4x.unicode.org • https://crates.io/crates/icu • https://www.unicode.org/consortium/techchairs.html • https://www.unicode.org/license.txt • https://www.unicode.org/policies/licensing_policy.html • https://www.unicode.org/copyright.html
https://api.github.com/repos/unicode-org/icu4x/releases/217170091
Release info
Release version: 2.0
Release description
ICU4X 2.0 introduces significant updates to the modular, portable, and secure i18n library, including the introduction of preference bags for formatters, enhancing efficiency. The icu::datetime component has been entirely rewritten to improve performance, along with a new icu::time component for handling i18n-focused date and time representations. The FFI has been overhauled with improvements in C++ namespaces, function versioning, and adherence to idiomatic practices across languages. Furthermore, there are more types with separate owned and borrowed variants to boost performance and enable components to compile without an allocator, facilitating full #[no_std] compatibility. All components now ship with the latest CLDR (47.0) and Unicode (16.0) versions, ensuring up-to-date data availability.
Code Examples
Minor update: 2.1.1 → 2.2.0
$ DOWNLOADS TREND
$ VERSION HISTORY
$ LINKS
$ INSTALL
cargo add icu_normalizer_dataOr add to Cargo.toml: icu_normalizer_data = "2.2.0"