cargo

Manage Rust projects with Cargo build, test, lint, and publish commands.

3|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/jholhewres/devclaw-skills --skill cargo-jholhewres
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cargo
Source: https://github.com/jholhewres/devclaw-skills/tree/main/skills/cargo
Command: npx skills add https://github.com/jholhewres/devclaw-skills --skill cargo-jholhewres

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the entire development lifecycle for Rust projects, from initial compilation to final publishing, ensuring code quality and efficient dependency management.

Core Features & Use Cases

  • Build & Run: Compile and execute Rust applications and libraries.
  • Testing & Benchmarking: Run unit tests, integration tests, and performance benchmarks.
  • Linting & Formatting: Ensure code quality and consistency with clippy and fmt.
  • Dependency Management: Add, update, and audit project dependencies.
  • Publishing: Prepare and publish Rust crates to crates.io.

Quick Start

Use the cargo skill to build the current Rust project in release mode.

Frequently Asked Questions about cargo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build and run a Rust project in release mode?

To build and run a Rust project in release mode, use the Cargo build system to compile and execute the application with optimized release settings for production performance.

Can I use Cargo to manage and update Rust dependencies?

Yes, you can use Cargo to manage Rust dependencies by adding, updating, and auditing project dependencies to ensure efficient and secure development workflows.

How do I run unit tests and benchmarks for a Rust application?

You can run unit tests and benchmarks for a Rust application by executing the testing commands in the Cargo build system to validate code correctness and measure performance.

What's the best way to lint and format Rust code?

The best way to lint and format Rust code is using Cargo's integration with clippy and fmt to ensure code quality, consistency, and best practices across the project.

How do I publish a Rust crate to crates.io?

To publish a Rust crate to crates.io, use the Cargo package manager to prepare the project files and execute the publishing command for distribution.

Does the Cargo build system support both Rust applications and libraries?

Yes, the Cargo build system supports both Rust applications and libraries, facilitating efficient development workflows for building, running, testing, and managing dependencies.