[package] name = "songww-harfbuzz-sys" version = "0.2.0" authors = ["The Servo Project Developers"] license = "MIT" description = "Rust bindings to the HarfBuzz text shaping engine" repository = "https://github.com/songww/rust-harfbuzz" documentation = "https://docs.rs/songww-harfbuzz-sys/" keywords = ["opentype", "font", "text", "layout", "unicode"] categories = ["external-ffi-bindings", "internationalization"] exclude = [ "harfbuzz/NEWS", "harfbuzz/perf/*", "harfbuzz/util/*.h", "harfbuzz/util/*.hh", "harfbuzz/util/*.c", "harfbuzz/util/*.cc", "harfbuzz/docs/*", "harfbuzz/test/*", "harfbuzz/test/api/fonts/*", "harfbuzz/test/subset/data/fonts/*", "harfbuzz/test/fuzzing/fonts/*", "harfbuzz/test/shape/data/text-rendering-tests/fonts/*", "harfbuzz/test/shape/data/aots/fonts/*", "harfbuzz/test/shape/data/in-house/fonts/*", "harfbuzz/.git", ] links = "harfbuzz" [lib] name = "harfbuzz_sys" [build-dependencies] cc = { version = "1", optional = true } which = { version = '4.2' } regex = { version = "1", optional = true } bindgen_ = { version = "0.60", optional = true, package = "bindgen" } pkg-config = "0.3" [target.'cfg(target_vendor = "apple")'.dependencies] core-graphics = "0.22" core-text = "19" foreign-types = "0.3" [target.'cfg(any(target_os = "android", all(unix, not(target_vendor = "apple"))))'.dependencies] freetype-sys = { version = "0.15", default-features = false } [features] default = [] bindgen = ["bindgen_", "regex"] vendored = ["cc"]