Apple HFS+ NFD-like Unicode Normalization Library for Rust

CI (master) CI (Release) hfs<em>nfd at crates.io hfs</em>nfd at docs.rs

HFS+, the file system formerly used in Apple macOS, uses a unique Unicode normalization similar to NFD.

This library composes or decomposes Unicode code points according to the normalization. e.g.

How to use

Add this library hfs_nfd to your Cargo.toml.

```toml [dependencies] anotherlibrary1 = "" anotherlibrary2 = ""

snip

hfs_nfd = "1.0.0" # <= Here

snip

```

Then, use these functions:

```rust use hfsnfd::{composefromhfsnfd,decomposeintohfs_nfd};

asserteq!(decomposeintohfsnfd("Universit\u{00E9}"), "Universite\u{0301}".tostring()); asserteq!(composefromhfsnfd("アッフ\u{309A}ル"), "アッ{30D7}ル".tostring()); ```