Cargo.toml (596B)
1 [package] 2 name = "harfbuzz_rust" 3 edition = "2021" 4 rust-version = "1.87.0" 5 6 [dependencies] 7 skrifa = { version = "0.*", optional = true } 8 harfrust = { version = "0.4.*", optional = true } 9 # harfrust = { git = "https://github.com/harfbuzz/harfrust", optional = true } 10 11 [lib] 12 name = "harfbuzz_rust" 13 path = "lib.rs" 14 crate-type = ["staticlib"] 15 16 [features] 17 font = ["dep:skrifa"] 18 shape = ["dep:harfrust"] 19 20 [profile.release] 21 strip = true 22 panic = "abort" 23 overflow-checks = false 24 lto = "fat" 25 codegen-units = 1 26 27 [profile.debugoptimized] 28 inherits = "dev" 29 overflow-checks = false 30 lto = "fat" 31 codegen-units = 1