1[package]
2name = "rustybuzz"
3version = "0.20.1"
4authors = [
5 "Caleb Maclennan <caleb@alerque.com>",
6 "Laurenz Stampfl <laurenz.stampfl@gmail.com>",
7 "Yevhenii Reizner <razrfalcon@gmail.com>",
8 "خالد حسني (Khaled Hosny) <khaled@aliftype.com>"
9]
10edition = "2021"
11description = "A complete harfbuzz shaping algorithm port to Rust."
12documentation = "https://docs.rs/rustybuzz/"
13readme = "README.md"
14repository = "https://github.com/harfbuzz/rustybuzz"
15license = "MIT"
16keywords = ["text", "shaping", "opentype", "truetype"]
17categories = ["text-processing"]
18exclude = ["benches/", "tests/"]
19
20[dependencies]
21bitflags = "2.4.1"
22bytemuck = { version = "1.5", features = ["extern_crate_alloc"] }
23core_maths = "0.1.0" # only for no_std builds
24smallvec = "1.6"
25unicode-bidi-mirroring = "0.4.0"
26unicode-ccc = "0.4.0"
27unicode-properties = { version = "0.1.3", default-features = false, features = ["general-category"] }
28unicode-script = "0.5.2"
29wasmi = { version = "0.37.0", optional = true }
30log = "0.4.22"
31
32[dependencies.ttf-parser]
33version = "0.25.0"
34default-features = false
35features = [
36 "opentype-layout",
37 "apple-layout",
38 "variable-fonts",
39 "glyph-names",
40 "no-std-float",
41]
42
43[features]
44default = ["std"]
45std = ["ttf-parser/std"]
46wasm-shaper = ["std", "dep:wasmi"]
47
48[dev-dependencies]
49pico-args = { version = "0.5", features = ["eq-separator"] }
50libc = "0.2"
51