#locale #posix

locale-strict

Idiomatic, strictly validated, types for locale identifiers

1 unstable release

0.1.0 Aug 27, 2019

#20 in #locale

MIT license

12KB
214 lines

Crate locale-strict

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

This crate provides a strict version of the LocaleString structure provided by the locale-types crate. For each of the fields language code, territory, and code set the values passed to the constructors will be validated using the locale-codes crate to ensure they are valid identifiers according to the corresponding standards.

History

  • 0.1.0 - Initial release.

Dependencies

~1.9–3MB
~71K SLoC