Each workspace crate now owns its own version instead of the previous lockstep scheme; irtt-proto, irtt-client, irtt-server, irtt-stats, and irtt-cli all become 0.5.0 as the first independently-versioned release. Workspace dependency requirements are bumped to match. Add a root CHANGELOG.md with a real per-crate 0.5.0 section drawn from archaeology of every merge since v0.4.0, not just path-filtered commits. Move cargo-dist to a crate-qualified `irtt-cli/vX.Y.Z` tag namespace so only irtt-cli (the one dist-able application) triggers a GitHub Release; library crate tags (irtt-proto/irtt-client/irtt-server/irtt-stats) exist purely to pin the source for a crates.io release and no longer risk tripping the release workflow. Regenerate the renamed irtt-cli-release.yml via `dist generate` and update the few other files that referenced the old release.yml path by name. Also fix a stale `features = ["full"]` in dist-workspace.toml left over from a feature-flag refactor that dropped the "full" feature entirely, which was silently breaking every dist build. Rescope semver.yml's tag trigger to the same five crate-qualified tags so semver checks keep running under the new convention.
36 lines
842 B
TOML
36 lines
842 B
TOML
[workspace]
|
|
members = [
|
|
"crates/irtt-proto",
|
|
"crates/irtt-client",
|
|
"crates/irtt-server",
|
|
"crates/irtt-stats",
|
|
"crates/irtt-cli",
|
|
]
|
|
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
|
|
panic = "abort"
|
|
strip = "symbols"
|
|
|
|
# The profile that 'dist' will build with
|
|
[profile.dist]
|
|
inherits = "release"
|
|
lto = "thin"
|