2024-01-21 17:31:12 +08:00
|
|
|
[package]
|
|
|
|
name = "call"
|
2024-01-23 00:51:22 +08:00
|
|
|
version = "1.1.0"
|
2024-01-21 21:37:47 +08:00
|
|
|
description = "一个简单的用于不带控制台/带控制台调用其他程序的包装器"
|
2024-01-21 17:31:12 +08:00
|
|
|
edition = "2021"
|
2024-01-21 21:37:47 +08:00
|
|
|
build = "build.rs"
|
2024-01-21 17:31:12 +08:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
# 最小体积优化
|
|
|
|
opt-level = 'z'
|
|
|
|
lto = true
|
|
|
|
codegen-units = 1
|
|
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies.winapi]
|
|
|
|
version = "0.3"
|
2024-01-21 20:54:16 +08:00
|
|
|
features = ["winuser", "wincon", "processthreadsapi"]
|
2024-01-21 21:37:47 +08:00
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
winres = "0.1.0"
|
2024-01-23 00:50:35 +08:00
|
|
|
winapi = { version = "0.3", features = ["winnt"] }
|