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

#338 in Internationalization (i18n)

Download history 651/week @ 2023-11-27 714/week @ 2023-12-04 757/week @ 2023-12-11 707/week @ 2023-12-18 944/week @ 2023-12-25 751/week @ 2024-01-01 894/week @ 2024-01-08 733/week @ 2024-01-15 880/week @ 2024-01-22 922/week @ 2024-01-29 1116/week @ 2024-02-05 1042/week @ 2024-02-12 1188/week @ 2024-02-19 819/week @ 2024-02-26 873/week @ 2024-03-04 378/week @ 2024-03-11

3,439 downloads per month
Used in 19 crates (7 directly)

MIT/Apache

245KB
952 lines

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.


lib.rs:

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, "ÅΩ");
}

Dependencies