38 lines
728 B
TOML
38 lines
728 B
TOML
cargo-features = ["codegen-backend"]
|
|
|
|
[package]
|
|
name = "zoomie"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
name = "libzoomie"
|
|
path = "src/lib.rs"
|
|
|
|
[lints.rust]
|
|
unsafe_code = { level = "forbid" }
|
|
|
|
[dependencies]
|
|
winit = "0.30"
|
|
image = { version = "0.25", default-features = false, features = [
|
|
"png",
|
|
"rayon",
|
|
] }
|
|
wgpu = "23.0"
|
|
bytemuck = { version = "1.19", features = ["derive"] }
|
|
anyhow = "1.0"
|
|
pollster = "0.4"
|
|
cgmath = "0.18"
|
|
|
|
[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"] }
|
|
|
|
[profile.dev]
|
|
codegen-backend = "cranelift"
|
|
|
|
[profile.release]
|
|
strip = true
|