Files
harfbuzz/src/rust/Cargo.toml
T
Behdad Esfahbod b48358db71 [rust] Pin skrifa
Build was failing otherwise.
2026-09-09 11:53:21 -06:00

39 lines
776 B
TOML

[package]
name = "harfbuzz_rust"
edition = "2021"
rust-version = "1.87.0"
[dependencies]
harfrust = { version = "0.13.3", features = ["experimental_font_api"], optional = true }
# harfrust = { git = "https://github.com/harfbuzz/harfrust", optional = true }
read-fonts = "0.43.*"
skrifa = { version = "0.46.*", optional = true }
smallvec = "1.*"
[lib]
name = "harfbuzz_rust"
path = "lib.rs"
crate-type = ["staticlib"]
[features]
default = ["paint", "draw", "hb-allocator"]
font = ["dep:skrifa"]
shape = ["dep:harfrust"]
paint = []
draw = []
hb-allocator = []
[profile.release]
strip = true
panic = "abort"
overflow-checks = false
lto = "fat"
codegen-units = 1
[profile.debugoptimized]
inherits = "dev"
panic = "abort"
overflow-checks = false
lto = "fat"
codegen-units = 1