unic-langid

unic-langid
is an API for managing Unicode Language Identifiers.
The crate provides a way to create a struct from a string, manipulate its fields, canonicalize it, and serialize into a string.
Usage
use TryFrom;
use LanguageIdentifier;
let loc = try_from.expect;
assert_eq!;
assert_eq!;
assert_eq!;
loc.set_script;
assert_eq!;
use TryFrom;
use LanguageIdentifier;
let langid = from_parts.expect;
assert_eq!
Status
The crate is providing fundamental blocks, but is very basic.
In particular, a lot can be done to improve performance, memory usage, and ergonomics of using the crate.
Get Involved
unic-langid
is open-source, licensed under the Apache License, Version 2.0. We
encourage everyone to take a look at our code and we'll listen to your
feedback.