Releases: RomarQ/cargo-workspace-inheritance-check
Releases · RomarQ/cargo-workspace-inheritance-check
v1.2.0
[1.2.0] - 2026-03-19
Full Changelog: v1.1.2...v1.2.0
What's Changed
- Simplify codebase: extract shared helpers and reduce duplication (#13, #17)
- refactor: simplify Diagnostic to enum, extract for_each_dep_table_mut (#14)
- feat: alternate registry support (#15)
Added
- Alternate registry support: dependencies using
registry = "my-registry"are now handled correctly- A member dep only matches a workspace dep if both use the same registry (or both use the default crates.io)
- Promotion candidates are grouped by
(name, registry)pair — deps from different registries are not grouped together --fixstripsregistryfrom member deps when converting to{ workspace = true }(the workspace dep owns the registry)--fixcarriesregistryinto promoted workspace deps
v1.1.2
[1.1.2] - 2026-03-18
Fixed
--fixnow stripsdefault-featuresfrom member entries when converting to{ workspace = true }, since it must be set at the workspace level to have any effect--fixnow checks target-specific dependency sections (e.g.[target.'cfg(windows)'.dependencies]) when determining whether to setdefault-features = falseon promoted workspace dependencies
v1.1.1
[1.1.1] - 2026-03-18
Fixed
--fixnow propagatesdefault-features = falseto[workspace.dependencies]when promoting a dependency that any member uses withdefault-features = false. Without this, Cargo silently ignores the member-level setting (pre-2024 edition) or raises a hard error (2024 edition).
v1.1.0
[1.1.0] - 2026-03-18
What's Added
--fixflag to automatically fix all reported problems:- Not inherited / version mismatch: replaces explicit versions with
{ workspace = true }in member crates - Promotion candidates: adds the dependency to
[workspace.dependencies]and updates all member crates - Preserves other dependency attributes (e.g.
features,optional) - Handles all dependency sections including target-specific dependencies
- Not inherited / version mismatch: replaces explicit versions with
fixinput for the GitHub Action
Full Changelog: v1.0.0...v1.1.0
v1.0.0
[1.0.0] - 2026-03-17
Full Changelog: v0.2.0...v1.0.0
Added
- GitHub Action for CI integration (
uses: RomarQ/cargo-workspace-inheritance-check@v1) - CI workflow with smoke tests
v0.2.0
[0.2.0] - 2026-03-17
Full Changelog: v0.1.0...v0.2.0