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

#519 in Internationalization (i18n)

Download history 1667/week @ 2024-12-25 3949/week @ 2025-01-01 2630/week @ 2025-01-08 1439/week @ 2025-01-15 1717/week @ 2025-01-22 1433/week @ 2025-01-29 1488/week @ 2025-02-05 1853/week @ 2025-02-12 2001/week @ 2025-02-19 1758/week @ 2025-02-26 1715/week @ 2025-03-05 1680/week @ 2025-03-12 1771/week @ 2025-03-19 2040/week @ 2025-03-26 1878/week @ 2025-04-02 2436/week @ 2025-04-09

8,300 downloads per month
Used in 19 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