1[package]
2name = "fontdue"
3version = "0.9.3"
4authors = ["Joe Cumbo <mooman219@gmail.com>"]
5license = "MIT OR Apache-2.0 OR Zlib"
6documentation = "https://docs.rs/fontdue"
7homepage = "https://github.com/mooman219/fontdue"
8repository = "https://github.com/mooman219/fontdue"
9description = "A simple no_std font parser and rasterizer."
10keywords = ["font", "text", "truetype", "opentype", "ttf"]
11categories = ["no-std", "gui"]
12readme = "README.md"
13edition = "2018"
14exclude = ["dev/**"]
15
16[badges]
17maintenance = { status = "experimental" }
18
19[features]
20# If using no default features, you must enable either hashbrown or std.
21default = ["simd", "hashbrown"]
22# Enable this flag to use std::HashMap instead of hashbrown::HashMap
23std = []
24# Enable this flag to leverage SIMD usage on x86/x86_64 platforms.
25simd = []
26# Enable this flag to parallelize font loading using threads.
27parallel = ["rayon", "hashbrown", "hashbrown/rayon"]
28
29[dependencies]
30ttf-parser = { version = "0.21", default-features = false, features = [
31 "opentype-layout",
32] }
33hashbrown = { version = "0.15", optional = true }
34rayon = { version = "1.10", optional = true }
35