You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consolidate workspace dependencies and add cargo-autoinherit (#333)
## Summary
This PR consolidates dependency management by moving dev-dependencies to
the workspace root and ensuring all crates reference them consistently.
It also introduces `cargo-autoinherit` to the development toolchain for
automated workspace dependency inheritance.
## Key Changes
- **Workspace dependency consolidation**: Moved `ntest` and
`terminal_size` from individual crate `Cargo.toml` files to the
workspace root, allowing all crates to reference them via `{ workspace =
true }`
- **Updated crate dependencies**:
- `crates/pty_terminal/Cargo.toml`: Changed `ntest` and `terminal_size`
to use workspace inheritance
- `crates/pty_terminal_test/Cargo.toml`: Changed `ntest` to use
workspace inheritance
- `crates/vite_select/Cargo.toml`: Changed `vite_str` to use workspace
inheritance
- **Added cargo-autoinherit tooling**:
- Integrated `cargo-autoinherit@0.1.6` into CI pipeline
- Added to development initialization script (`justfile`)
- Added automated check in CI to ensure workspace dependencies are
properly inherited
- Integrated into the `fmt` recipe for automatic dependency inheritance
during formatting
## Notable Details
The `cargo-autoinherit` tool is now part of the development workflow and
CI checks, ensuring that workspace dependencies are consistently applied
across all crates and preventing manual inconsistencies in dependency
declarations.
https://claude.ai/code/session_01PCwRbvAEXdAD7ieDyKe7pb
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments