wrapper-rs/Cargo.toml

23 lines
562 B
TOML
Raw Permalink Normal View History

2024-01-21 17:31:12 +08:00
[package]
name = "call"
2024-01-25 21:32:23 +08:00
version = "1.2.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"
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"] }