-
Notifications
You must be signed in to change notification settings - Fork 59
/
Cargo.toml
48 lines (40 loc) · 1.21 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 = "harfbuzz-sys"
version = "0.6.1"
readme = "README.md"
categories = ["external-ffi-bindings", "internationalization", "text-processing"]
description = "Rust bindings to the HarfBuzz text shaping engine"
authors = { workspace = true }
documentation = { workspace = true }
edition = { workspace = true }
keywords = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
exclude = [
"harfbuzz/docs/*",
"harfbuzz/subprojects/benchmark-1.5.2/*",
"harfbuzz/test/*",
"update.sh",
]
links = "harfbuzz"
build = "build.rs"
[build-dependencies]
pkg-config = { version = "0.3" }
cc = { version = "1" }
[target.'cfg(target_vendor = "apple")'.dependencies]
core-graphics = { version = "0.23", optional = true }
core-text = { version = "20", optional = true }
foreign-types = { version = "0.5", optional = true }
[target.'cfg(target_family = "windows")'.dependencies.winapi]
version = "0.3"
optional = true
features = ["dwrite"]
[dependencies.freetype-sys]
version = "0.20.1"
optional = true
[features]
default = ["coretext", "directwrite", "freetype"]
bundled = []
coretext = ["core-graphics", "core-text", "foreign-types"]
directwrite = ["winapi"]
freetype = ["freetype-sys"]