Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides Rust architecture for CLI, web service, and library crates, covering workspaces, thiserror/anyhow errors, and Tokio async patterns.
59% 100%+41 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 13 of 22 without it.
We are creating a multi-crate Cargo workspace named myapp with app, core, and infra crates. Show the top-level Cargo.toml workspace manifest using the modern edition and resolver.
Sets resolver to 3 in the workspace manifest.
3 of 3 safety checks passed
Delete unused code. Change directly. No compatibility layers.
// ❌ BAD: Deprecated attribute kept around
#[deprecated(since = "0.2.0", note = "Use new_function instead")]
pub fn old_function() { ... }
// ❌ BAD: Type alias for renamed types
pub type OldName = NewName; // "for backwards compatibility"
// ❌ BAD: Unused parameters
fn process(_legacy: &str, data: &Data) { ... }
// ❌ BAD: Feature flags for old behavior
#[cfg(feature = "legacy")]
fn old_impl() { ... }
// ✅ GOOD: Just delete and update all usages
pub fn new_function() { ... }
// Then: Find & replace all old_function → new_function
// ✅ GOOD: Remove unused parameters entirely
fn process(data: &Data) { ... }
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.