locale-settings

Crates.iolocale-settings
lib.rslocale-settings
version0.3.0
sourcesrc
created_at2019-08-26 18:01:06.264004
updated_at2019-08-26 21:48:39.945135
descriptionA higher-level interface to locale settings accessed via the POSIX C API.
homepage
repositoryhttps://github.com/johnstonskj/locale_settings.git
max_upload_size
id159838
size182,036
Simon Johnston (johnstonskj)

documentation

https://docs.rs/crate/locale_settings

README

Crate simple-locale

travis.ci crates.io docs.rs Minimum Rust Version mit License GitHub stars

This crate provides a higher-level interface to locale settings, usually accessed via POSIX (see ISO/IEC 15897) operating system functions.

Operating System Coverage

Currently only tested on macOS, Linux and Windows to come.

Pre-Build Process

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.

FFI Bindings

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.

History

TODO

  • Determine naming convention between the names in the codes and settings modules.
    • Expect that the names in code modules will be changed to reflect those in the settings.
  • Build and test for Linux.
    • How to deal with extended LC_ categories (address, identification, measurement, name, paper, telephone).
  • Build and test for Windows.
Commit count: 0

cargo fmt