Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
zhanghandong avatar

M11 Ecosystem

  • 760 installs
  • 1.3k repo stars
  • Updated May 24, 2026
  • zhanghandong/rust-skills

This is a copy of m11-ecosystem by actionbook - installs and ranking accrue to the original listing.

m11-ecosystem is a Rust agent skill that recommends crates and integration patterns for developers who need reliable dependency choices when extending Cargo workspaces.

About

m11-ecosystem is a Layer 2 design-choice skill in the zhanghandong/rust-skills collection for Rust ecosystem integration. It auto-injects the current `[dependencies]` block from Cargo.toml so the agent sees live project context before answering. The skill targets unresolved-import errors such as E0425, E0433, and E0603, feature-flag selection, workspace layout, and bindings for PyO3, WebAssembly, bindgen, cbindgen, and napi-rs. Developers reach for m11-ecosystem when Cargo.toml edits stall on which crate to pick, how to enable features, or how to bridge external C libraries and Python extensions. It is user-invocable false, so agents should load it when dependency or crate-selection keywords appear in Rust build threads.

  • Decision table mapping 9 common needs (serialization, async, HTTP, database, CLI, error handling, logging) to the recomm
  • Maintenance checklist covering recent commits, issue response, and breaking-change frequency
  • Handles common Rust errors E0425, E0433, E0603 related to crate visibility and imports
  • Guidance for Cargo.toml features, workspaces, PyO3 bindings, WebAssembly, and bindgen
  • Integration Decision → Implementation workflow that produces a concrete dependency plan

M11 Ecosystem by the numbers

  • 760 all-time installs (skills.sh)
  • +7 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/zhanghandong/rust-skills --skill m11-ecosystem

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs760
repo stars1.3k
Security audit3 / 3 scanners passed
Last updatedMay 24, 2026
Repositoryzhanghandong/rust-skills

Which Rust crate should I add to Cargo.toml?

Get reliable crate recommendations and integration patterns when adding dependencies.

Who is it for?

Rust developers integrating new dependencies, Python extensions, or WebAssembly bindings who want opinionated crate picks tied to their current Cargo.toml.

Skip if: Developers who only need generic Rust syntax help without dependency decisions or Cargo workspace changes.

When should I use this skill?

A Rust task mentions crate selection, Cargo.toml features, E0425/E0433/E0603, PyO3, wasm, bindgen, or workspace dependencies.

What you get

Crate recommendations, Cargo.toml feature-flag patterns, workspace wiring notes, and FFI or binding integration steps.

  • Crate recommendation
  • Cargo.toml feature configuration
  • Binding integration pattern

By the numbers

  • Targets three Rust compiler errors: E0425, E0433, and E0603
  • Auto-injects up to 30 lines from the Cargo.toml dependencies section

Files

SKILL.mdMarkdownGitHub ↗

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?

3. How does it integrate?

  • Trait-based or concrete types?
  • Sync or async?
  • What bounds does it require?

---

Trace Up ↑

To domain constraints (Layer 3):

"Which HTTP framework should I use?"
    ↑ Ask: What are the performance requirements?
    ↑ Check: domain-web (latency, throughput needs)
    ↑ Check: Team expertise (familiarity with framework)
QuestionTrace ToAsk
Framework choicedomain-*What constraints matter?
Library vs builddomain-*What's the deployment model?
API designdomain-*Who are the consumers?

---

Trace Down ↓

To implementation (Layer 1):

"Integrate external crate"
    ↓ m04-zero-cost: Trait bounds and generics
    ↓ m06-error-handling: Error type compatibility

"FFI integration"
    ↓ unsafe-checker: Safety requirements
    ↓ m12-lifecycle: Resource cleanup

---

Quick Reference

Language Interop

IntegrationCrate/ToolUse Case
C/C++ → RustbindgenAuto-generate bindings
Rust → CcbindgenExport C headers
Python ↔ Rustpyo3Python extensions
Node.js ↔ Rustnapi-rsNode addons
WebAssemblywasm-bindgenBrowser/WASI

Cargo Features

FeaturePurpose
[features]Optional functionality
default = [...]Default features
feature = "serde"Conditional deps
[workspace]Multi-crate projects

Error Code Reference

ErrorCauseFix
E0433Can't find crateAdd to Cargo.toml
E0603Private itemCheck crate docs
Feature not enabledOptional featureEnable in features
Version conflictIncompatible depscargo update or pin
Duplicate typesDifferent crate versionsUnify in workspace

---

Crate Selection Criteria

CriterionGood SignWarning Sign
MaintenanceRecent commitsYears inactive
CommunityActive issues/PRsNo response
DocumentationExamples, API docsMinimal docs
StabilitySemantic versioningFrequent breaking
DependenciesMinimal, well-knownHeavy, obscure

---

Anti-Patterns

Anti-PatternWhy BadBetter
extern crateOutdated (2018+)Just use
#[macro_use]Global pollutionExplicit import
Wildcard deps *UnpredictableSpecific versions
Too many depsSupply chain riskEvaluate necessity
Vendoring everythingMaintenance burdenTrust crates.io

---

Related Skills

WhenSee
Error type designm06-error-handling
Trait integrationm04-zero-cost
FFI safetyunsafe-checker
Resource managementm12-lifecycle

Related skills

How it compares

Choose m11-ecosystem over general Rust style skills when the blocker is crate choice, Cargo features, or FFI binding setup rather than formatting or API design.

FAQ

When should m11-ecosystem load during Rust development?

m11-ecosystem should load when integrating crates, editing Cargo.toml features, or debugging unresolved imports such as E0425 and E0433. The skill reads the project's current dependency block first.

Does m11-ecosystem cover Python and WebAssembly Rust bindings?

m11-ecosystem covers PyO3, wasm, bindgen, cbindgen, and napi-rs integration patterns alongside standard Cargo workspace and feature-flag guidance for Rust projects.

Is M11 Ecosystem safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Backend & APIsbackendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.