33 lines
912 B
TOML
33 lines
912 B
TOML
[package]
|
|
name = "textgrid"
|
|
version = "2026.8.5"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
pyo3 = { version = "0.25", features = ["extension-module"] }
|
|
glfw = "0.62"
|
|
pollster = "0.4"
|
|
bytemuck = { version = "1", features = ["derive"] }
|
|
swash = "0.2"
|
|
unicode-width = "0.2"
|
|
ttf-parser = "0.24"
|
|
png = "0.18"
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
wgpu = { version = "29", default-features = false, features = ["std", "spirv", "parking_lot", "vulkan", "gles"] }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
wgpu = { version = "29", default-features = false, features = ["std", "spirv", "parking_lot", "metal"] }
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
wgpu = { version = "29", default-features = false, features = ["std", "spirv", "parking_lot", "vulkan", "gles", "dx12"] }
|
|
|
|
[profile.release]
|
|
lto = true
|
|
codegen-units = 1
|
|
strip = true
|
|
opt-level = "z"
|
|
panic = "abort"
|