| 1 | [package] |
| 2 | name = "fontdue" |
| 3 | version = "0.9.3" |
| 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 | # If using no default features, you must enable either hashbrown or std. |
| 21 | default = ["simd" , "hashbrown" ] |
| 22 | # Enable this flag to use std::HashMap instead of hashbrown::HashMap |
| 23 | std = [] |
| 24 | # Enable this flag to leverage SIMD usage on x86/x86_64 platforms. |
| 25 | simd = [] |
| 26 | # Enable this flag to parallelize font loading using threads. |
| 27 | parallel = ["rayon" , "hashbrown" , "hashbrown/rayon" ] |
| 28 | |
| 29 | [dependencies] |
| 30 | ttf-parser = { version = "0.21" , default-features = false, features = [ |
| 31 | "opentype-layout" , |
| 32 | ] } |
| 33 | hashbrown = { version = "0.15" , optional = true } |
| 34 | rayon = { version = "1.10" , optional = true } |
| 35 | |