40 lines
698 B
TOML
40 lines
698 B
TOML
[package]
|
|
name = "pxl8d"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[lib]
|
|
name = "pxl8d"
|
|
|
|
[build-dependencies]
|
|
bindgen = "0.72"
|
|
cc = "1.2"
|
|
|
|
[dependencies]
|
|
libc = { version = "0.2", default-features = false }
|
|
libm = { version = "0.2", default-features = false }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows-sys = { version = "0.61", default-features = false, features = [
|
|
"Win32_System_Memory",
|
|
"Win32_System_Performance",
|
|
"Win32_System_Threading",
|
|
"Win32_Networking_WinSock",
|
|
] }
|
|
|
|
[[bin]]
|
|
name = "pxl8d"
|
|
path = "src/main.rs"
|
|
|
|
[profile.dev]
|
|
opt-level = 2
|
|
panic = "abort"
|
|
|
|
[profile.dev.package."*"]
|
|
opt-level = 3
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
lto = true
|
|
codegen-units = 1
|
|
strip = true
|