Registry / utility / langtag

langtag

JSON →
library1.1.0rscratesunverified

Language tags implementation following RFC 5646.

# Cargo.toml [dependencies] langtag = "1.1.0"
INSTALL
IMPORT
SIG · LANGTAG
L
langtag
utilityrustv1.1.0
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.

LangTag
use langtag::LangTag;

Parse and inspect a language tag.

use langtag::LangTag; fn main() { let tag: LangTag = "en-US".parse().unwrap(); println!("Language: {:?}", tag.language()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
langtag — cargo add langtag · libregistry