[package]
edition = "2024"
name = "lumentype"
version = "0.0.3"
authors = []
build = "build.rs"
exclude = ["dev/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The fastest feature-complete no-std fast font parser, rasterizer, and blitter. LTR/RTL, Color Emoji, and advanced layout features."
homepage = "https://github.com/voidops/lumentype"
documentation = "https://docs.rs/lumentype"
readme = "README.md"
keywords = [
"font",
"text",
"truetype",
"opentype",
"ttf",
]
categories = [
"no-std",
"gui",
]
license = "MIT"
repository = "https://github.com/voidops/lumentype"
[badges.maintenance]
status = "experimental"
[features]
default = [
"simd",
"hashbrown",
]
parallel = [
"rayon",
"hashbrown",
"hashbrown/rayon",
]
simd = []
std = []
variable-fonts = ["ttf-parser/variable-fonts"]
[lib]
name = "lumentype"
path = "src/lib.rs"
[[test]]
name = "emoji_renderer_tests"
path = "tests/emoji_renderer_tests.rs"
[[test]]
name = "layout_arabic_gpos_tests"
path = "tests/layout_arabic_gpos_tests.rs"
[[test]]
name = "layout_direction_tests"
path = "tests/layout_direction_tests.rs"
[[test]]
name = "layout_padding_tests"
path = "tests/layout_padding_tests.rs"
[[test]]
name = "layout_push_sequential_tests"
path = "tests/layout_push_sequential_tests.rs"
[[test]]
name = "layout_shaping_golden_tests"
path = "tests/layout_shaping_golden_tests.rs"
[[test]]
name = "layout_shaping_path_safety"
path = "tests/layout_shaping_path_safety.rs"
[dependencies.hashbrown]
version = "0.15"
optional = true
[dependencies.miniz_oxide]
version = "0.8"
features = ["with-alloc"]
default-features = false
[dependencies.rayon]
version = "1.10"
optional = true
[dependencies.tiny-skia]
version = "0.11"
features = ["no-std-float"]
default-features = false
[dependencies.ttf-parser]
version = "0.25"
features = [
"opentype-layout",
"no-std-float",
"variable-fonts",
]
default-features = false
[build-dependencies.unicode-bidi]
version = "0.3"
features = ["hardcoded-data"]
default-features = false
[build-dependencies.unicode-joining-type]
version = "1.0"
[build-dependencies.unicode-normalization]
version = "0.1"
[build-dependencies.unicode-script]
version = "0.5"