1[package]
2name = "fontdue"
3version = "0.8.0"
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]
20default = ["simd"]
21# Enable this flag to leverage SIMD usage on x86/x86_64 platforms.
22simd = []
23# Enable this flag to parallelize font loading using threads.
24parallel = ["rayon", "hashbrown/rayon"]
25
26[dependencies]
27ttf-parser = { version = "0.20", default-features = false, features = [
28 "opentype-layout",
29] }
30hashbrown = "0.14"
31rayon = { version = "1.5.1", optional = true }
32