c87ce7aaf8
Co-authored-by: konstin <konstin@mailbox.org>
60 lines
1.4 KiB
TOML
60 lines
1.4 KiB
TOML
[package]
|
|
name = "uv-trampoline"
|
|
version = "0.1.0"
|
|
authors = ["Nathaniel J. Smith <njs@pobox.com>"]
|
|
license = "MIT OR Apache-2.0"
|
|
edition = "2021"
|
|
|
|
# Need to optimize etc. or else build fails
|
|
[profile.dev]
|
|
lto = true
|
|
opt-level = 1
|
|
panic = "abort"
|
|
debug = true
|
|
|
|
[profile.test]
|
|
inherits = "dev"
|
|
codegen-units = 1
|
|
|
|
[profile.release]
|
|
# Enable Link Time Optimization.
|
|
lto = true
|
|
# Reduce number of codegen units to increase optimizations.
|
|
codegen-units = 1
|
|
# Optimize for size.
|
|
opt-level = "z"
|
|
# Abort on panic.
|
|
panic = "abort"
|
|
# Automatically strip symbols from the binary.
|
|
strip = true
|
|
debug = false
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
windows = { version = "0.58.0", features = [
|
|
"std",
|
|
"Win32_Foundation",
|
|
"Win32_Security",
|
|
"Win32_System_Console",
|
|
"Win32_System_Environment",
|
|
"Win32_System_JobObjects",
|
|
"Win32_System_Threading",
|
|
"Win32_UI_WindowsAndMessaging",
|
|
] }
|
|
ufmt-write = "0.1.0"
|
|
ufmt = { version = "0.2.0", features = ["std"] }
|
|
dunce = { version = "1.0.4" }
|
|
|
|
[build-dependencies]
|
|
embed-manifest = "1.4.0"
|
|
|
|
[dev-dependencies]
|
|
anyhow = { version = "1.0.80" }
|
|
assert_cmd = { version = "2.0.14" }
|
|
assert_fs = { version = "1.1.1" }
|
|
fs-err = { version = "2.11.0" }
|
|
thiserror = { version = "1.0.56" }
|
|
which = { version = "6.0.0" }
|
|
zip = { version = "0.6.6", default-features = false, features = ["deflate"] }
|