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

#375 in Internationalization (i18n)

Download history 1042/week @ 2024-09-30 1342/week @ 2024-10-07 2079/week @ 2024-10-14 1917/week @ 2024-10-21 1785/week @ 2024-10-28 2127/week @ 2024-11-04 2495/week @ 2024-11-11 2511/week @ 2024-11-18 1816/week @ 2024-11-25 1728/week @ 2024-12-02 2473/week @ 2024-12-09 1720/week @ 2024-12-16 1465/week @ 2024-12-23 3073/week @ 2024-12-30 3791/week @ 2025-01-06 1357/week @ 2025-01-13

9,731 downloads per month
Used in 17 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