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