Registry / utility / isolang

isolang

JSON →
library2.4.0rscratesunverified

Efficient, static lookup table for ISO 639 language codes.

# Cargo.toml [dependencies] isolang = "2.4.0"
INSTALL
IMPORT
SIG · ISOLANG
I
isolang
utilityrustv2.4.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.

Language
use isolang::Language;

Looks up a language by ISO 639-1 code and prints its name.

use isolang::Language; fn main() { let lang = Language::from_639_1("en").unwrap(); println!("Language: {}", lang.to_name()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.4.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
isolang — cargo add isolang · libregistry