Files
openide/native/restarter/Cargo.toml
2025-04-30 13:27:28 +04:00

35 lines
982 B
TOML

# Modified by Dmitrij Pochepko at 2025 as part of the OpenIDE project (https://openide.ru).
# Any modifications are available on the same license terms as the original source code.
[package]
name = "restarter"
version = "0.3.0"
edition = "2021"
rust-version = "1.70"
publish = false
build = "build.rs"
[profile.release]
strip = "debuginfo"
opt-level = "z"
lto = true
codegen-units = 1
[dependencies]
chrono = { version = "0.4.38", default-features = false, features = ["std"] }
[target.'cfg(target_family = "unix")'.dependencies]
libc = "0.2.155"
[target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.58.0", features = ["Win32_Foundation", "Win32_System_Threading"] }
[target.'cfg(target_os = "windows")'.build-dependencies]
winresource = "0.1.17"
[package.metadata.winresource]
CompanyName = "OpenIDE"
FileDescription = "IDE update and restart helper"
LegalCopyright = "Copyright 2025 OpenIDE"
OriginalFilename = "restarter.exe"
ProductName = "OpenIDE"