mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 16:01:07 +01:00
39 lines
776 B
TOML
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
|