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