Crates.io | locale-settings |
lib.rs | locale-settings |
version | 0.3.0 |
source | src |
created_at | 2019-08-26 18:01:06.264004 |
updated_at | 2019-08-26 21:48:39.945135 |
description | A higher-level interface to locale settings accessed via the POSIX C API. |
homepage | |
repository | https://github.com/johnstonskj/locale_settings.git |
max_upload_size | |
id | 159838 |
size | 182,036 |
This crate provides a higher-level interface to locale settings, usually accessed via POSIX (see ISO/IEC 15897) operating system functions.
Currently only tested on macOS, Linux and Windows to come.
The following describe two code generation steps that are executed outside the normal build process as the output is stored in Git and versioned based on external factors.
As mentioned above, this crate depends on FFI bindings to POSIX locale
functions, and there are O/S differences that make this a pain. The script
create-bindings.sh
is used to generate these bindings (using cargo bindgen) in such a way that
different O/S bindings can be built effectively.
codes
and settings
modules.
LC_
categories (address, identification,
measurement, name, paper, telephone).