[package]
edition = "2021"
rust-version = "1.89"
name = "oxitext"
version = "0.1.2"
authors = ["COOLJAPAN OU (Team Kitasan)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust text rendering pipeline (facade): shape → layout → raster"
readme = "README.md"
keywords = [
"text",
"rendering",
"typography",
"oxitext",
"cooljapan",
]
categories = [
"graphics",
"text-processing",
"rendering",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/oxitext"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = ["pure"]
font-subset = ["dep:oxifont-subset"]
icu = [
"dep:oxitext-icu",
"oxitext-layout/icu",
]
parallel = [
"pure",
"dep:rayon",
]
png-output = ["dep:png"]
pure = [
"dep:oxitext-shape",
"dep:oxitext-raster",
]
sdf = ["dep:oxitext-sdf"]
simd = ["oxitext-raster/simd"]
[lib]
name = "oxitext"
path = "src/lib.rs"
[[test]]
name = "bidi_api"
path = "tests/bidi_api.rs"
[[test]]
name = "color_composite"
path = "tests/color_composite.rs"
[[test]]
name = "color_emoji"
path = "tests/color_emoji.rs"
[[test]]
name = "error_handling"
path = "tests/error_handling.rs"
[[test]]
name = "layout_api"
path = "tests/layout_api.rs"
[[test]]
name = "pipeline"
path = "tests/pipeline.rs"
[[test]]
name = "subpixel"
path = "tests/subpixel.rs"
[[test]]
name = "vertical_api"
path = "tests/vertical_api.rs"
[dependencies.oxifont]
version = "0.1.2"
[dependencies.oxifont-subset]
version = "0.1.2"
optional = true
[dependencies.oxitext-core]
version = "0.1.2"
[dependencies.oxitext-icu]
version = "0.1.2"
optional = true
[dependencies.oxitext-layout]
version = "0.1.2"
[dependencies.oxitext-raster]
version = "0.1.2"
optional = true
[dependencies.oxitext-sdf]
version = "0.1.2"
optional = true
[dependencies.oxitext-shape]
version = "0.1.2"
optional = true
[dependencies.png]
version = "0.18"
optional = true
[dependencies.rayon]
version = "1.12.0"
optional = true
[dependencies.ttf-parser]
version = "0.25.1"
[dev-dependencies.oxifont-bundled]
version = "0.1.2"
features = ["bundled-noto"]
[dev-dependencies.ttf-parser]
version = "0.25.1"