2024-11-03 16:01:34 +02:00
|
|
|
cargo-features = ["codegen-backend"]
|
|
|
|
|
|
|
|
[package]
|
|
|
|
name = "zoomie"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
2024-11-04 12:39:10 +02:00
|
|
|
[lib]
|
|
|
|
name = "libzoomie"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
2024-11-03 16:01:34 +02:00
|
|
|
[lints.rust]
|
|
|
|
unsafe_code = { level = "forbid" }
|
|
|
|
|
|
|
|
[dependencies]
|
2024-11-07 12:11:26 +02:00
|
|
|
ashpd = { version = "0.10", default-features = false, features = ["async-std"] }
|
|
|
|
winit = "0.30"
|
|
|
|
image = { version = "0.25", default-features = false, features = [
|
2024-11-04 22:09:33 +02:00
|
|
|
"png",
|
|
|
|
"rayon",
|
|
|
|
] }
|
2024-11-07 12:11:26 +02:00
|
|
|
wgpu = "23.0"
|
|
|
|
bytemuck = { version = "1.19", features = ["derive"] }
|
|
|
|
anyhow = "1.0"
|
|
|
|
pollster = "0.4"
|
2024-11-04 22:09:33 +02:00
|
|
|
cgmath = "0.18"
|
2024-11-03 16:01:34 +02:00
|
|
|
|
2024-11-07 12:11:26 +02:00
|
|
|
|
2024-11-03 16:01:34 +02:00
|
|
|
[profile.dev]
|
|
|
|
codegen-backend = "cranelift"
|
|
|
|
opt-level = 0
|
|
|
|
lto = false
|
|
|
|
incremental = true
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
opt-level = 3
|
|
|
|
strip = true
|
|
|
|
lto = true
|
|
|
|
codegen-units = 1
|