Registry / config / locale-config

locale-config

JSON →
library0.3.0rscratesunverified

Maintains locale preferences for process and thread and initialises them by inspecting the system for user preference.

# Cargo.toml [dependencies] locale_config = "0.3.0"
INSTALL
IMPORT
SIG · LOCALE-CONFIG
L
locale-config
configrustv0.3.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.

Locale
use locale_config::Locale;

Get the current system locale.

use locale_config::Locale; fn main() { let locale = Locale::current(); println!("Current locale: {:?}", locale); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
26
Resources
locale-config — cargo add locale-config · libregistry