1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//! PRECIS Framework: Preparation, Enforcement, and Comparison of
//! Internationalized Strings in Application Protocols as described in
//! [`rfc8264`](https://datatracker.ietf.org/doc/html/rfc8264)
//!
//! This crate implements the PRECIS base string classes and tables
//! that profiles can use for their implementation. The crate `precis-profiles`
//! provides a list of implemented profiles that applications can use.

#![deny(missing_docs)]

include!(concat!(env!("OUT_DIR"), "/public.rs"));

mod common;

pub mod context;

pub use crate::error::CodepointInfo;
pub use crate::error::Error;
pub use crate::error::UnexpectedError;
pub use crate::stringclasses::FreeformClass;
pub use crate::stringclasses::IdentifierClass;
pub use crate::stringclasses::StringClass;

mod error;
pub mod profile;
pub mod stringclasses;