What problem does it solve?
Automates the manual, error-prone process of adding a new crate to the Rust workspace, ensuring consistency with project conventions and proper workspace integration.
Core Features & Use Cases
- Crate scaffolding: Create a new crate (library or binary) inside components/rusty-gadgets/ using cargo, with standard folder structure.
- Workspace integration: Update the workspace's Cargo.toml to include the new member, keeping the list alphabetically sorted.
- Standardization & linting: Initialize the crate root with copyright header, forbidden unsafe code, Clippy rules, and a module documentation scaffold.
- Verification & summary: Run initial build checks and provide a summary of actions and follow-up items.
Quick Start
Create a new crate inside components/rusty-gadgets as either a library or binary, register it in Cargo.toml, set up dependencies and the crate root to match project conventions.