adapted from: qt-wgpu-skel: * 751408ea92268a16a6931862cb00e8dbccb4e47e replace custom FFI with Diplomat * 46ce52c2bf2f8ab76a68c284a2f70556a29d7c3b reduce the unsafe part to the GPU initialization * 784e99b31c4ae3ab0f97ec26045511d00683d66b move the GPU initialization out of the bridge
34 lines
544 B
TOML
34 lines
544 B
TOML
[package]
|
|
name = "photon-light"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[lib]
|
|
crate-type = ["lib", "staticlib"]
|
|
|
|
[profile.dev]
|
|
panic = 'abort'
|
|
|
|
[profile.dev.package."*"]
|
|
debug = false
|
|
opt-level = 3
|
|
|
|
[profile.test.package."*"]
|
|
debug = false
|
|
opt-level = 3
|
|
|
|
[dependencies]
|
|
bytemuck = "1.25.2"
|
|
glam = { version = "0.30.9", features = ["bytemuck", "approx"] }
|
|
pollster = "0.4.0"
|
|
rand = "0.9.2"
|
|
rand_distr = "0.5.1"
|
|
rand_pcg = "0.9.0"
|
|
wgpu = "27.0.1"
|
|
winit = "0.30.12"
|
|
diplomat = "0.17.0"
|
|
diplomat-runtime = "0.16.1"
|
|
|
|
[dev-dependencies]
|
|
approx = "0.5.1"
|