-
Notifications
You must be signed in to change notification settings - Fork 72
/
Cargo.toml
34 lines (31 loc) · 1.11 KB
/
Cargo.toml
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
27
28
29
30
31
32
33
34
[package]
name = "fontdue"
version = "0.9.2"
authors = ["Joe Cumbo <mooman219@gmail.com>"]
license = "MIT OR Apache-2.0 OR Zlib"
documentation = "https://docs.rs/fontdue"
homepage = "https://github.com/mooman219/fontdue"
repository = "https://github.com/mooman219/fontdue"
description = "A simple no_std font parser and rasterizer."
keywords = ["font", "text", "truetype", "opentype", "ttf"]
categories = ["no-std", "gui"]
readme = "README.md"
edition = "2018"
exclude = ["dev/**"]
[badges]
maintenance = { status = "experimental" }
[features]
# If using no default features, you must enable either hashbrown or std.
default = ["simd", "hashbrown"]
# Enable this flag to use std::HashMap instead of hashbrown::HashMap
std = []
# Enable this flag to leverage SIMD usage on x86/x86_64 platforms.
simd = []
# Enable this flag to parallelize font loading using threads.
parallel = ["rayon", "hashbrown", "hashbrown/rayon"]
[dependencies]
ttf-parser = { version = "0.21", default-features = false, features = [
"opentype-layout",
] }
hashbrown = { version = "0.15", optional = true }
rayon = { version = "1.10", optional = true }