[package]
edition = "2021"
name = "harfbuzz-sys"
version = "0.7.0"
authors = ["The Servo Project Developers"]
build = "build.rs"
links = "harfbuzz"
exclude = [
"harfbuzz/docs/*",
"harfbuzz/subprojects/benchmark-1.5.2/*",
"harfbuzz/test/*",
"update.sh",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings to the HarfBuzz text shaping engine"
documentation = "https://docs.rs/harfbuzz/"
readme = "README.md"
keywords = [
"opentype",
"font",
"text",
"unicode",
"shaping",
]
categories = [
"external-ffi-bindings",
"internationalization",
"text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/servo/rust-harfbuzz"
[features]
bundled = []
coretext = [
"dep:objc2-core-graphics",
"dep:objc2-core-text",
]
default = [
"coretext",
"directwrite",
"freetype",
]
directwrite = ["dep:windows"]
freetype = ["dep:freetype-sys"]
[lib]
name = "harfbuzz_sys"
path = "src/lib.rs"
[dependencies.freetype-sys]
version = "0.23.0"
optional = true
[build-dependencies.cc]
version = "1"
[build-dependencies.pkg-config]
version = "0.3"
[target.'cfg(target_family = "windows")'.dependencies.windows]
version = "0.62"
features = ["Win32_Graphics_DirectWrite"]
optional = true
[target.'cfg(target_vendor = "apple")'.dependencies.objc2-core-graphics]
version = "0.3.2"
features = ["CGFont"]
optional = true
default-features = false
[target.'cfg(target_vendor = "apple")'.dependencies.objc2-core-text]
version = "0.3.2"
features = ["CTFont"]
optional = true
default-features = false