[package]
name = "alpha2-text"
version.workspace = true
description = "Portable text shaping and rasterization for alpha2 hosts, native and wasm."
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
keywords = ["text", "shaping", "rasterization", "captions", "wasm"]
categories = ["text-processing", "rendering"]
include = [
"/src/**",
"/README.md",
"/LICENSE.md",
"!/src/**/tests.rs",
"!/src/**/*_tests.rs",
"!/src/**/tests/**",
]
[dependencies]
alpha2-media.workspace = true
ab_glyph_rasterizer = { version = "0.1.10", default-features = false, features = ["libm"] }
libm = "0.2.16"
png.workspace = true
rustybuzz = "0.20.1"
unicode-bidi = "0.3.18"
unicode-linebreak = "0.1.5"
unicode-script = "0.5.8"
unicode-segmentation = "1.13.3"
[lints]
workspace = true
[dev-dependencies]
alpha2-scaling-support.workspace = true
serde_json = { workspace = true, features = ["float_roundtrip"] }
[[bench]]
name = "caption_raster"
harness = false