unic_ucd_age/
lib.rs

1// Copyright 2017 The UNIC Project Developers.
2//
3// See the COPYRIGHT file at the top-level directory of this distribution.
4//
5// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8// option. This file may not be copied, modified, or distributed
9// except according to those terms.
10
11#![no_std]
12#![warn(
13    bad_style,
14    missing_debug_implementations,
15    missing_docs,
16    unconditional_recursion
17)]
18#![forbid(unsafe_code)]
19
20//! # UNIC — UCD — Character Age
21//!
22//! A component of [`unic`: Unicode and Internationalization Crates for Rust](/unic/).
23//!
24//! Accessor for character [**Age**](https://www.unicode.org/reports/tr44/#Age) property from
25//! Unicode Character Database (UCD)
26//!
27//! * <https://www.unicode.org/reports/tr44/#Character_Age>
28
29#[macro_use]
30extern crate unic_char_range;
31
32pub use unic_ucd_version::UnicodeVersion;
33
34mod pkg_info;
35pub use crate::pkg_info::{PKG_DESCRIPTION, PKG_NAME, PKG_VERSION};
36
37mod age;
38pub use crate::age::{Age, CharAge};
39
40/// The [Unicode version](https://www.unicode.org/versions/) of data
41pub const UNICODE_VERSION: UnicodeVersion = include!("../tables/unicode_version.rsv");