Bindings for the HarfBuzz text shaping engine generated with bindgen to support the newest versions of HarfBuzz.
vcpkg
(https://github.com/microsoft/vcpkg)harfbuzz
with vcpkg install harfbuzz --triplet x64-windows-static
(or another triplet matching your target OS) to get a statically compiled HarfBuzz versionRUSTFLAGS = "-Ctarget-feature=+crt-static"
bindgen
(https://rust-lang.github.io/rust-bindgen/requirements.html)Add this dependency to your Cargo.toml
:
toml
[dependencies]
harfbuzz-bindings = "0.1"
And fire up cargo build
!
This crate has been implemented following the bindgen tutorial.