50 lines
1.2 KiB
TOML
50 lines
1.2 KiB
TOML
[package]
|
|
name = "yandex-music-rs-setup"
|
|
version = "2.0.0"
|
|
edition = "2021"
|
|
description = "Pure native Win32 + Direct2D Yandex Music desktop client installer"
|
|
|
|
[[bin]]
|
|
name = "yandex-music-rs-setup"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
flate2 = "1"
|
|
image = { version = "0.25", default-features = false, features = ["png"] }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows-numerics = "0.2"
|
|
windows = { version = "0.61", features = [
|
|
"Win32_Foundation",
|
|
"Win32_Graphics_Direct2D",
|
|
"Win32_Graphics_Direct2D_Common",
|
|
"Win32_Graphics_DirectWrite",
|
|
"Win32_Graphics_Dwm",
|
|
"Win32_Graphics_Dxgi_Common",
|
|
"Win32_Graphics_Gdi",
|
|
"Win32_Security",
|
|
"Win32_System_Com",
|
|
"Win32_System_Com_StructuredStorage",
|
|
"Win32_System_LibraryLoader",
|
|
"Win32_System_Registry",
|
|
"Win32_System_Variant",
|
|
"Win32_UI_HiDpi",
|
|
"Win32_UI_Input_KeyboardAndMouse",
|
|
"Win32_UI_Shell",
|
|
"Win32_UI_Shell_Common",
|
|
"Win32_UI_Shell_PropertiesSystem",
|
|
"Win32_UI_WindowsAndMessaging",
|
|
] }
|
|
|
|
[build-dependencies]
|
|
flate2 = "1"
|
|
|
|
[target.'cfg(windows)'.build-dependencies]
|
|
winresource = "0.1"
|
|
|
|
[profile.release]
|
|
opt-level = "z"
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
strip = true
|
|
panic = "abort"
|