locale-strict

Idiomatic, strictly validated, types for locale identifiers

1 unstable release

0.1.0 Aug 27, 2019

#373 in Internationalization (i18n)

MIT license

13KB
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

~3–5MB
~91K SLoC