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
|
|
|
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-18 11:26:06 +02:00
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
|
|
win-screenshot = { version = "4.0" }
|
|
|
|
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
|
|
ashpd = { version = "0.10", default-features = false, features = ["async-std"] }
|
|
|
|
|
2024-11-03 16:01:34 +02:00
|
|
|
[profile.dev]
|
|
|
|
codegen-backend = "cranelift"
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
strip = true
|