oxilangtag 0.1.0

Simple and fast implementation of language tag normalization and validation
Documentation

oxilangtag

actions status Latest Version Released API docs

OxiLangTag to validate and normalize language tags following RFC 5646 (BCP 47).

It allows zero stack allocation language tag validation.

Example:

use oxilangtag::LanguageTag;

let language_tag = LanguageTag::parse("en-US").unwrap();
assert_eq!("en-US", language_tag.into_inner());

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Futures by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.