Source code

Revision control

Copy as Markdown

Other Tools

# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2021"
name = "harfbuzz-sys"
version = "0.6.1"
authors = ["The Servo Project Developers"]
build = false
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"
[features]
bundled = []
coretext = [
"dep:core-graphics",
"dep:core-text",
"dep:foreign-types",
]
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
[target.'cfg(target_family = "windows")'.dependencies.windows]
version = "0.59"
features = ["Win32_Graphics_DirectWrite"]
optional = true
[target.'cfg(target_vendor = "apple")'.dependencies.core-graphics]
version = "0.23"
optional = true
[target.'cfg(target_vendor = "apple")'.dependencies.core-text]
version = "20"
optional = true
[target.'cfg(target_vendor = "apple")'.dependencies.foreign-types]
version = "0.5"
optional = true