Those two crates provide core functionality for Unicode Language Identifier and Unicode Locale Identifier handling!
unic-langid crate is quite complete as far as I'm aware, and I'm seeking spec conformance validation, docs, tests, and potential performance improvements mainly.
The optional macro
langid! provides compilation time validation of your language identifier literals as well!
unic-locale crate is much less mature and needs additions for a lot of extension keys, but also review of the API to make it canonical for Rust. It's mainly a scaffolding over
unic-langid to show how in the future
unic-locale can be used and downcasted to
If you're interested in language and locale management, an example use case of the crates is fluent-locale which now can negotiate between lists of
Looking for feedback, PRs, contribution and field testing