-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
48 lines (43 loc) · 1.26 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[package]
name = "harfruzz"
version = "0.0.1"
edition = "2021"
description = "A complete harfbuzz shaping algorithm port to Rust."
documentation = "https://docs.rs/harfruzz/"
readme = "README.md"
repository = "https://github.com/harfbuzz/harfruzz"
license = "MIT"
keywords = ["text", "shaping", "opentype", "truetype"]
categories = ["text-processing"]
exclude = ["benches/", "tests/"]
[dependencies]
bitflags = "2.4.1"
bytemuck = { version = "1.5", features = ["extern_crate_alloc", "derive"] }
core_maths = "0.1.0" # only for no_std builds
smallvec = "1.6"
unicode-bidi-mirroring = "0.3.0"
unicode-ccc = "0.3.0"
unicode-properties = { version = "0.1.0", default-features = false, features = ["general-category"] }
unicode-script = "0.5.2"
skrifa = "0.20" # TODO: read-fonts instead
wasmi = { version = "0.34.0", optional = true }
log = "0.4.22"
# TODO: remove entirely
[dependencies.ttf-parser]
git = "https://github.com/RazrFalcon/ttf-parser"
rev = "85c1ff2"
default-features = false
features = [
"opentype-layout",
"apple-layout",
"variable-fonts",
"glyph-names",
"no-std-float",
]
[features]
default = ["std"]
std = ["ttf-parser/std"]
wasm-shaper = ["std", "dep:wasmi"]
[dev-dependencies]
pico-args = { version = "0.5", features = ["eq-separator"] }
libc = "0.2"