Registry / utility / unic-langid

unic-langid

JSON →
library0.9.6rscratesunverified

API for managing Unicode Language Identifiers, including parsing, manipulation, and comparison.

# Cargo.toml [dependencies] unic-langid = "0.9.6"
INSTALL
IMPORT
SIG · UNIC-LANGID
U
unic-langid
utilityrustv0.9.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LanguageIdentifier
✓ use unic_langid::LanguageIdentifier;

Parsing a Unicode Language Identifier from a string.

use unic_langid::LanguageIdentifier; fn main() -> Result<(), Box<dyn std::error::Error>> { let langid: LanguageIdentifier = "en-US".parse()?; println!("Language: {}", langid); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.9.6latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
unic-langid — cargo add unic-langid · libregistry