Covers the practical Cargo workflows you'll need beyond basic builds: setting up workspaces with shared dependencies, managing feature flags without shooting yourself in the foot, writing build.rs scripts that actually rebuild when they should, and configuring CI caching that works. Includes cargo-nextest for faster test runs, cargo-deny for dependency auditing, and the workspace.dependencies pattern that keeps version management sane across multi-crate projects. The feature resolver gotchas alone (additivity, resolver v2) will save you debugging time. Solid reference if you're moving past single-crate projects or trying to speed up your CI pipeline without guessing at cache configurations.

skills.sh installs
608
GitHub stars
279
last updated
Aug 21, 2026

Install

$ npx -y skills add mohitmishra786/low-level-dev-skills --skill cargo-workflows --agent claude-code

Installs into .claude/skills of the current project.

Files

Cargo Workflows

Purpose

Guide agents through Cargo workspaces, feature management, build scripts (build.rs), CI integration, incremental compilation, and the Cargo tool ecosystem.

Triggers

  • "How do I set up a Cargo workspace with multiple crates?"
  • "How do features work in Cargo?"
  • "How do I write a build.rs script?"
  • "How do I speed up Cargo builds in CI?"
  • "How do I audit my Rust dependencies?"
  • "What is cargo nextest and should I use it?"

Workflow

1. Workspace setup

my-project/
├── Cargo.toml           # Workspace root
├── Cargo.lock           # Single lock file for all members
├── crates/
│   ├── core/
│   │   └── Cargo.toml
│   ├── cli/
│   │   └── Cargo.toml
│   └── server/
│       └── Cargo.toml
└── tools/
    └── codegen/
        └── Cargo.toml
# Workspace root Cargo.toml
[workspace]
members = [
    "crates/core",
    "crates/cli",
    "crates/server",
    "tools/codegen",
]
resolver = "2"   # Feature resolver v2 (required for edition 2021)

Sponsors

Details

Repository
github.com/mohitmishra786/low-level-dev-skills
Categories
DevOps & CI/CD, Automation & Workflows, Rust
First seen
Jun 3, 2026

More from mohitmishra786/low-level-dev-skills

All 54
1marketcalls avatarindicator-dashboardmarketcalls/openalgo-indicator-skillsBuild a web dashboard for technical indicator analysis using Plotly Dash or Streamlit. Supports single-symbol, multi-symbol, and multi-timeframe layouts with re589skills.sh installs
2hkuds avatarcli-anything-comfyuihkuds/cli-anythingCommand-line interface for ComfyUI - AI image generation workflow management via ComfyUI REST API. Designed for AI agents and power users who need to queue work586skills.sh installs
3aaronontheweb avatartestcontainers-integration-testsaaronontheweb/dotnet-skillsWrite integration tests using TestContainers for .NET with xUnit. Covers infrastructure testing with real databases, message queues, and caches in Docker contai579skills.sh installs
4wshaddix avatartestcontainerswshaddix/dotnet-skillsPatterns for using Testcontainers in .NET integration tests to spin up real dependencies like databases and message queues. Use when writing integration tests t569skills.sh installs
5davila7 avataragent-manager-skilldavila7/claude-code-templatesManage multiple local CLI agents via tmux sessions (start/stop/monitor/assign) with cron-friendly scheduling.568skills.sh installs
6wanshuiyin avatarrun-experimentwanshuiyin/auto-claude-code-research-in-sleepDeploy and run ML experiments on local, remote, Vast.ai, or Modal serverless GPU. Use when user says "run experiment", "deploy to server", "跑实验", or needs to la554skills.sh installs