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

#409 in Internationalization (i18n)

Download history 2445/week @ 2024-11-17 1877/week @ 2024-11-24 1728/week @ 2024-12-01 2356/week @ 2024-12-08 1867/week @ 2024-12-15 1421/week @ 2024-12-22 3025/week @ 2024-12-29 3821/week @ 2025-01-05 1474/week @ 2025-01-12 1823/week @ 2025-01-19 1232/week @ 2025-01-26 1469/week @ 2025-02-02 1870/week @ 2025-02-09 1849/week @ 2025-02-16 1975/week @ 2025-02-23 1408/week @ 2025-03-02

7,322 downloads per month
Used in 19 crates (5 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