This handles Rust dependency and ecosystem questions, from picking the right crate to debugging integration errors like E0433 and E0603. It includes opinionated tables for common needs (serde for serialization, tokio for async, clap for CLI) and covers FFI scenarios with bindgen, PyO3, and wasm-bindgen. The skill auto-injects your current Cargo.toml dependencies for context and pushes you to think about maintenance status and feature flags before adding dependencies. Most useful when you're weighing framework choices or troubleshooting cross-language integration. The anti-patterns section calling out extern crate and wildcard versions is a nice touch that saves you from cargo hell.

skills.sh installs
3.5K
GitHub stars
1.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add actionbook/rust-skills --skill m11-ecosystem --agent claude-code

Installs into .claude/skills of the current project.

Files

Current Dependencies (Auto-Injected)

!grep -A 100 '^\[dependencies\]' Cargo.toml 2>/dev/null | head -30 || echo "No Cargo.toml found"


Ecosystem Integration

Layer 2: Design Choices

Core Question

What's the right crate for this job, and how should it integrate?

Before adding dependencies:

  • Is there a standard solution?
  • What's the maintenance status?
  • What's the API stability?

Integration Decision → Implementation

NeedChoiceCrates
SerializationDerive-basedserde, serde_json
Async runtimetokio or async-stdtokio (most popular)
HTTP clientErgonomicreqwest
HTTP serverModernaxum, actix-web
DatabaseSQL or ORMsqlx, diesel
CLI parsingDerive-basedclap
Error handlingApp vs libanyhow, thiserror
LoggingFacadetracing, log

Thinking Prompt

Before adding a dependency:

  1. Is it well-maintained?

    • Recent commits?
    • Active issue response?
    • Breaking changes frequency?
  2. What's the scope?

    • Do you need the full crate or just a feature?
    • Can feature flags reduce bloat?

Sponsors

Details

Repository
github.com/actionbook/rust-skills
Categories
Python, Rust
First seen
May 16, 2026

More from actionbook/rust-skills

All 38

Recommended

More Python
1yaklang avatarghost-bits-cast-attackyaklang/hack-skillsJava "Ghost Bits" / Cast Attack playbook (Black Hat Asia 2026). Use when attacking Java services where 16-bit char is silently narrowed to 8-bit byte to bypass 3.5Kskills.sh installs
2minimax-ai avatarfullstack-devminimax-ai/skillsFull-stack backend architecture and frontend-backend integration guide. TRIGGER when: building a full-stack app, creating REST API with frontend, scaffolding ba3.5Kskills.sh installs
3nexu-io avatarpptx-html-fidelity-auditnexu-io/open-designAudit a python-pptx export against its source HTML deck, identify layout/content drift (footer overflow, cropped content, missing italic/em, lost styling, off-r3.3Kskills.sh installs
4browser-use avatarcloudbrowser-use/browser-useDocumentation reference for using Browser Use Cloud — the hosted API and SDK for browser automation. Use this skill whenever the user needs help with the Cloud 3.3Kskills.sh installs
5affaan-m avatarggetaffaan-m/eccgget CLI and Python workflow for quick genomic database queries, sequence lookup, BLAST-style searches, enrichment checks, and reproducible bioinformatics evide3.2Kskills.sh installs
6davila7 avatarsenior-data-scientistdavila7/claude-code-templatesWorld-class data science skill for statistical modeling, experimentation, causal inference, and advanced analytics. Expertise in Python (NumPy, Pandas, Scikit-l3.2Kskills.sh installs