Files
irtt-rs/Cargo.toml
T
Nils Andreas Svee 02bad76676 build: optimize release and distribution profiles
Remove the panic abort override and synchronize LTO settings across release and distribution profiles to ensure consistent binary optimization and debugging behavior.
2026-08-20 12:41:16 +07:00

35 lines
850 B
TOML

[workspace]
members = [
"crates/irtt-proto",
"crates/irtt-client",
"crates/irtt-server",
"crates/irtt-stats",
"crates/irtt-app",
"crates/irtt-integration-tests",
]
resolver = "2"
[workspace.package]
edition = "2021"
license = "Apache-2.0"
rust-version = "1.88"
repository = "https://github.com/Lochnair/irtt-rs"
homepage = "https://github.com/Lochnair/irtt-rs"
readme = "README.md"
[workspace.dependencies]
irtt-proto = { version = "0.5.0", path = "crates/irtt-proto" }
irtt-client = { version = "0.5.0", path = "crates/irtt-client" }
irtt-server = { version = "0.5.0", path = "crates/irtt-server" }
irtt-stats = { version = "0.5.0", path = "crates/irtt-stats" }
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
strip = "symbols"
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"