| Crates.io | cargo-manage |
| lib.rs | cargo-manage |
| version | 0.0.1 |
| created_at | 2026-01-11 07:01:02.275465+00 |
| updated_at | 2026-01-11 07:02:22.449957+00 |
| description | Manage Cargo.toml dependencies across Rust workspaces |
| homepage | |
| repository | https://github.com/joshua-auchincloss/cargo-manage |
| max_upload_size | |
| id | 2035328 |
| size | 79,792 |
Manage Cargo.toml dependencies across Rust workspaces.
cargo install cargo-manage
cargo manage / cargo manage depsHoist dependency versions to workspace.dependencies and update member crates to use workspace = true.
cargo manage # run in workspace root
cargo manage --dry-run # preview changes
cargo manage -r /path/to/ws # specify workspace root
cargo manage sortSort dependencies alphabetically in all Cargo.toml files. Also sorts workspace.members.
cargo manage sort
cargo manage sort --prefix mycompany # sort mycompany-* deps first
cargo manage restoreRestore Cargo.toml files from .bak backups created by previous operations.
cargo manage restore
cargo manage restore --dry-run
| Flag | Description |
|---|---|
-r, --root <PATH> |
Workspace root directory (default: .) |
--dry-run |
Preview changes without modifying files |
-v, --verbose |
Enable debug output |
--prefix <PREFIX> |
Priority prefix for sorting |
.bak backups before modifying filestarget/, .git/, node_modules/, vendor/MIT OR Apache-2.0