The m11-ecosystem skill helps developers select appropriate Rust crates and manage dependencies by providing decision matrices, evaluation criteria, and integration patterns for common use cases like serialization, async runtimes, HTTP frameworks, and language interoperability. It's designed for Rust developers and maintainers who need to make informed choices about adding external dependencies, assessing crate quality and maintenance status, and understanding how new crates integrate with existing code architecture. The skill solves the problem of decision paralysis when choosing between multiple crate options and ensures selections align with project constraints and team expertise.

skills.sh installs
747
GitHub stars
1.3K
last updated
Jul 14, 2026

Install

$ npx -y skills add zhanghandong/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/zhanghandong/rust-skills
Category
Rust

More from zhanghandong/rust-skills

All 34

Recommended

More Rust
1zhanghandong avatarmeta-cognition-parallelzhanghandong/rust-skillsmeta cognition parallel635skills.sh installs
2zhanghandong avatardomain-embeddedzhanghandong/rust-skillsdomain embedded625skills.sh installs
3mohitmishra786 avatarrustc-basicsmohitmishra786/low-level-dev-skillsRust compiler skill for systems programming. Use when selecting RUSTFLAGS, configuring Cargo profiles, tuning release builds, reading assembly or MIR output, un567skills.sh installs
4secondsky avatarcloudflare-workers-multi-langsecondsky/claude-skillsMulti-language Workers development with Rust, Python, and WebAssembly. Use when building Workers in languages other than JavaScript/TypeScript, or when integrat310skills.sh installs
5openzeppelin avatarsetup-stellar-contractsopenzeppelin/openzeppelin-skillsSet up a Stellar/Soroban smart contract project with OpenZeppelin Contracts for Stellar. Use when users need to: (1) install Stellar CLI and Rust toolchain for 296skills.sh installs
6dfinity avatarevm-rpcdfinity/icskillsCall Ethereum and EVM chains from IC canisters (Rust) via the EVM RPC canister using the evm_rpc_client crate. Covers typed API calls, raw JSON-RPC, multi-provi287skills.sh installs