9 releases (breaking)

0.9.0 Mar 3, 2019
0.8.0 Jan 2, 2019
0.7.0 Feb 7, 2018
0.6.0 Sep 22, 2017
0.1.2 Jun 20, 2017

#646 in Internationalization (i18n)

Download history 4605/week @ 2025-11-09 2964/week @ 2025-11-16 4014/week @ 2025-11-23 3390/week @ 2025-11-30 4081/week @ 2025-12-07 3025/week @ 2025-12-14 2955/week @ 2025-12-21 2917/week @ 2025-12-28 3142/week @ 2026-01-04 3648/week @ 2026-01-11 3802/week @ 2026-01-18 3060/week @ 2026-01-25 4905/week @ 2026-02-01 5341/week @ 2026-02-08 6577/week @ 2026-02-15 5402/week @ 2026-02-22

22,651 downloads per month
Used in 18 crates (5 directly)

MIT/Apache

245KB
952 lines

UNIC — Unicode Normalization Forms

A component of unic: Unicode and Internationalization Crates for Rust.

This UNIC component implements algorithms from Unicode Standard Annex #15 - Unicode Normalization Forms.

extern crate unic_normal;

use unic_normal::StrNormalForm;

fn main() {
    let s = "ÅΩ";
    let c = s.nfc().collect::<String>();
    assert_eq!(c, "ÅΩ");
}

UNIC — Unicode Normalization Forms

Crates.io Documentation

This UNIC component implements algorithms from Unicode® Standard Annex #15 - Unicode Normalization Forms.

Notes

Initial code for this component is based on unicode-normalization.

Dependencies