Skip to content

Releases: RomarQ/cargo-workspace-inheritance-check

v1.2.0

19 Mar 09:35
4da96f0

Choose a tag to compare

[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
    • --fix strips registry from member deps when converting to { workspace = true } (the workspace dep owns the registry)
    • --fix carries registry into promoted workspace deps

v1.1.2

18 Mar 17:22
16fcefd

Choose a tag to compare

[1.1.2] - 2026-03-18

Fixed

  • --fix now strips default-features from member entries when converting to { workspace = true }, since it must be set at the workspace level to have any effect
  • --fix now checks target-specific dependency sections (e.g. [target.'cfg(windows)'.dependencies]) when determining whether to set default-features = false on promoted workspace dependencies

v1.1.1

18 Mar 13:12
94bc015

Choose a tag to compare

[1.1.1] - 2026-03-18

Fixed

  • --fix now propagates default-features = false to [workspace.dependencies] when promoting a dependency that any member uses with default-features = false. Without this, Cargo silently ignores the member-level setting (pre-2024 edition) or raises a hard error (2024 edition).

v1.1.0

18 Mar 10:33
225488d

Choose a tag to compare

[1.1.0] - 2026-03-18

What's Added

  • --fix flag 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
  • fix input for the GitHub Action

Full Changelog: v1.0.0...v1.1.0

v1.0.0

17 Mar 20:17
d7c7ae1

Choose a tag to compare

[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

17 Mar 12:33
22451be

Choose a tag to compare

[0.2.0] - 2026-03-17

Full Changelog: v0.1.0...v0.2.0