Crates.io | harfbuzz-bindings |
lib.rs | harfbuzz-bindings |
version | 0.2.0 |
source | src |
created_at | 2023-02-27 20:48:51.178974 |
updated_at | 2023-04-15 19:54:23.015437 |
description | HarfBuzz text shaping engine bindings for Rust |
homepage | |
repository | https://github.com/bennyboer/harfbuzz-bindings |
max_upload_size | |
id | 796353 |
size | 6,750 |
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
:
[dependencies]
harfbuzz-bindings = "0.2"
And fire up cargo build
!
This crate has been implemented following the bindgen tutorial.