Files
irtt-rs/Cargo.toml
T
Nils Andreas Svee 8ef53c999a build: optimize release profile for binary size and performance
Enable LTO, single codegen units, and symbol stripping to reduce binary footprint and improve execution efficiency.
2026-05-11 13:27:50 +07:00

29 lines
659 B
TOML

[workspace]
members = [
"crates/irtt-proto",
"crates/irtt-client",
"crates/irtt-stats",
"crates/irtt-cli",
]
resolver = "2"
[workspace.package]
edition = "2021"
license = "Apache-2.0"
rust-version = "1.75"
repository = "https://github.com/Lochnair/irtt-rs"
homepage = "https://github.com/Lochnair/irtt-rs"
readme = "README.md"
[workspace.dependencies]
irtt-proto = { version = "0.1.1", path = "crates/irtt-proto" }
irtt-client = { version = "0.1.1", path = "crates/irtt-client" }
irtt-stats = { version = "0.1.1", path = "crates/irtt-stats" }
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = "symbols"