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

#675 in Internationalization (i18n)

Download history 4008/week @ 2025-12-08 2974/week @ 2025-12-15 3112/week @ 2025-12-22 3037/week @ 2025-12-29 3017/week @ 2026-01-05 4025/week @ 2026-01-12 3278/week @ 2026-01-19 3542/week @ 2026-01-26 4901/week @ 2026-02-02 5568/week @ 2026-02-09 6233/week @ 2026-02-16 5851/week @ 2026-02-23 9627/week @ 2026-03-02 6053/week @ 2026-03-09 5662/week @ 2026-03-16 4985/week @ 2026-03-23

27,375 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