icu_data/lib.rs
1//! `icu-data.rlib` is a library that makes available the Unicode Consortium's ICU (International
2//! Components for Unicode) data repository without any C binding to libicu. At present, only the
3//! UCM (UniCode Mapping) files (icu-data/charset) are handled.
4//!
5//! Originally, this library was going to store the data uncompressed in Rust data structures.
6//! However, this led to the library being over 1GB in size, and Cargo required 15GB of memory to
7//! compile it. So, we're storing compressed versions in the library which are decompressed on
8//! demand (see documentation of [`ucm::request_mapping_file`]).
9//!
10//! Data is © 1991-2021 Unicode, Inc.
11//!
12//! For the license to this data, see:
13//! <https://github.com/unicode-org/icu-data/blob/main/LICENSE>
14//!
15//! It is an MIT-style license.
16//!
17//! This library is Apache 2 licensed and is under the umbrella of the MFEK (Modular Font Editor K)
18//! project.
19//!
20//! `icu-data.rlib` source code © 2021 Fredrick R. Brennan & MFEK Authors. See `AUTHORS`.
21
22pub mod ucm;