uv/crates/uv-trampoline/Cargo.toml

53 lines
1.1 KiB
TOML

[package]
name = "uv-trampoline"
version = "0.1.0"
authors = ["Nathaniel J. Smith <njs@pobox.com>"]
license = "MIT OR Apache-2.0"
edition = "2024"
[lib]
doctest = false
# 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.61.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.5" }
[build-dependencies]
embed-manifest = "1.4.0"