1#![unstable(feature = "unicode_internals", issue = "none")]
2#![allow(missing_docs)]
34// for use in alloc, not re-exported in std.
5#[rustfmt::skip]
6pub use unicode_data::case_ignorable::lookup as Case_Ignorable;
7pub use unicode_data::cased::lookup as Cased;
8pub use unicode_data::conversions;
910#[rustfmt::skip]
11pub(crate) use unicode_data::alphabetic::lookup as Alphabetic;
12pub(crate) use unicode_data::cc::lookup as Cc;
13pub(crate) use unicode_data::grapheme_extend::lookup as Grapheme_Extend;
14pub(crate) use unicode_data::lowercase::lookup as Lowercase;
15pub(crate) use unicode_data::n::lookup as N;
16pub(crate) use unicode_data::uppercase::lookup as Uppercase;
17pub(crate) use unicode_data::white_space::lookup as White_Space;
1819pub(crate) mod printable;
2021#[allow(unreachable_pub)]
22mod unicode_data;
2324/// The version of [Unicode](https://www.unicode.org/) that the Unicode parts of
25/// `char` and `str` methods are based on.
26///
27/// New versions of Unicode are released regularly and subsequently all methods
28/// in the standard library depending on Unicode are updated. Therefore the
29/// behavior of some `char` and `str` methods and the value of this constant
30/// changes over time. This is *not* considered to be a breaking change.
31///
32/// The version numbering scheme is explained in
33/// [Unicode 11.0 or later, Section 3.1 Versions of the Unicode Standard](https://www.unicode.org/versions/Unicode11.0.0/ch03.pdf#page=4).
34#[stable(feature = "unicode_version", since = "1.45.0")]
35pub const UNICODE_VERSION: (u8, u8, u8) = unicode_data::UNICODE_VERSION;