Cargo Dependency Manager
Manages Rust Cargo.toml dependencies using a standardized 4-section workspace pattern for consistent and readable project structures.
This skill provides a structured framework for managing Rust dependencies within complex workspaces, specifically optimized for the HASH repository pattern. It automates the organization of Cargo.toml files into four distinct sections—distinguishing between public and private, and workspace versus third-party dependencies—while enforcing best practices like caret versioning, workspace inheritance, and explicit feature management to ensure build consistency and API clarity.
主要功能
010 GitHub stars
02Strict 4-section Cargo.toml organization
03Centralized workspace dependency inheritance
04Automated version pinning and alignment
05Public vs. private API dependency tracking
06Optimized feature flag configuration
使用场景
01Managing crate visibility and public API exposure via specialized attributes
02Adding new third-party crates to a multi-package Rust workspace
03Standardizing existing Cargo.toml files to follow strict organizational patterns