wrapper-rs/Cargo.toml

35 lines
762 B
TOML
Raw Permalink Normal View History

2024-01-21 17:31:12 +08:00
[package]
name = "call"
2024-04-13 00:59:57 +08:00
version = "1.4.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'
2024-04-17 21:27:57 +08:00
strip = 'symbols'
2024-01-21 17:31:12 +08:00
lto = true
codegen-units = 1
2024-04-17 21:27:57 +08:00
[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.52"
features = [
"Win32_System_Console",
"Win32_System_Threading",
"Win32_Foundation",
]
2024-01-21 21:37:47 +08:00
2024-02-01 21:55:19 +08:00
[target.'cfg(windows)'.build-dependencies]
2024-01-21 21:37:47 +08:00
winres = "0.1.0"
2024-04-17 21:27:57 +08:00
windows-sys = { version = "0.52", features = ["Win32_System_SystemServices"] }
[dependencies]
2024-04-13 12:42:03 +08:00
blake3 = "1.5.1"
toml = "0.8"
2024-04-13 17:51:57 +08:00
[workspace]
members = ["installer"]