Registry / utility / oxilangtag

oxilangtag

JSON →
library0.1.6rscratesunverified

Simple and fast implementation of language tag normalization and validation.

# Cargo.toml [dependencies] oxilangtag = "0.1.6"
INSTALL
IMPORT
SIG · OXILANGTAG
O
oxilangtag
utilityrustv0.1.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.

LanguageTag
✓ use oxilangtag::LanguageTag;

Parse and validate BCP47 language tags.

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

No known issues recorded.

Upgrade
Version history
0.1.6latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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