Registry / utility / locale

locale

JSON →
library0.2.2rscratesunverified

A Rust library for basic localization, with a major rewrite pending for version 0.3.

# Cargo.toml [dependencies] locale = "0.2.2"
INSTALL
IMPORT
SIG · LOCALE
L
locale
utilityrustv0.2.2
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.

Locale
use locale::Locale;

Creating a locale object.

use locale::Locale; fn main() { let loc = Locale::new("en_US"); println!("{:?}", loc); }
Debug
Known issues
breakingMajor rewrite pending for 0.3, current API may change significantly.
fix
Pin to version 0.2.x if stability is needed.
affects: >=0.3.0
Upgrade
Version history
0.2.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
locale — cargo add locale · libregistry