#![cfg_attr(all(not(test), not(feature = "std"), feature = "hashbrown"), no_std)]
#![allow(dead_code)]
#![allow(clippy::style)]
#![allow(clippy::complexity)]
#![allow(clippy::misnamed_getters)]
extern crate alloc;
mod font;
mod hash;
pub mod layout;
mod math;
mod platform;
mod raster;
mod table;
mod unicode;
pub use crate::font::*;
#[cfg(feature = "hashbrown")]
pub(crate) use hashbrown::{HashMap, HashSet};
#[cfg(not(feature = "hashbrown"))]
pub(crate) use std::collections::{HashMap, HashSet};
pub type FontResult<T> = Result<T, &'static str>;