huiali/rust-skills/rust-ecosystem
Claude Code and agent skill by huiali/rust-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Rust ecosystem expert covering crate selection, library recommendations, framework comparisons, async runtime choices (tokio, async-std), and common tools.
Install
npx vskill@latest install huiali/rust-skills/rust-ecosystemSKILL.md
Async Runtimes
| Runtime | Characteristics | Use Case | |
|---|---|---|---|
| tokio | Most popular, feature-rich | General async applications | |
| async-std | std-like API | Prefer std-style APIs | |
| smol | Minimal, embeddable | Lightweight applications | |
| async-executors | Unified interface | Need runtime portability |
Solution Patterns
Pattern 1: Web Service Stack
Pattern 2: CLI Tool Stack
Pattern 3: Data Processing
Web Frameworks
| Framework | Characteristics | Performance | |
|---|---|---|---|
| axum | Tower middleware, type-safe | High | |
| actix-web | Highest performance | Highest | |
| rocket | Developer-friendly | Medium | |
| warp | Compositional, filters | High |
Serialization
| Library | Characteristics | Performance | |
|---|---|---|---|
| serde | Standard choice | High | |
| bincode | Binary, compact | Highest | |
| postcard | no_std, embedded | High | |
| ron | Readable format | Medium |
HTTP Clients
| Library | Characteristics | |
|---|---|---|
| reqwest | Most popular, easy to use | |
| ureq | Sync, simple | |
| surf | Async, modern | |
| hyper | Low-level, flexible |
Databases
| Type | Library | |
|---|---|---|
| ORM | sqlx, diesel, sea-orm | |
| Raw SQL | sqlx, tokio-postgres | |
| NoSQL | mongodb, redis | |
| Connection pool | sqlx, deadpool, r2d2 |
Concurrency & Parallelism
| Scenario | Recommendation | |
|---|---|---|
| Data parallelism | rayon | |
| Work stealing | crossbeam, tokio | |
| Channels | tokio::sync, crossbeam, flume | |
| Atomics | std::sync::atomic |
Error Handling
| Library | Use Case | |
|---|---|---|
| thiserror | Library error types | |
| anyhow | Application error propagation | |
| snafu | Structured errors |
Common Tools
| Scenario | Library | |
|---|---|---|
| CLI parsing | clap (v4), structopt | |
| Logging | tracing, log | |
| Config | config, dotenvy | |
| Testing | tempfile, rstest, proptest | |
| Time | chrono, time | |
| Random | rand | |
| Regex | regex |
Crate Selection Principles
- Active maintenance: Check GitHub activity, recent updates
- Download count: Reference crates.io downloads
- MSRV: Minimum Supported Rust Version compatibility
- Dependencies: Number and security of dependencies
- Documentation: Complete docs and examples
- License: MIT/Apache2 compatibility
Workflow
Step 1: Identify Need
Step 2: Evaluate Options
Step 3: Verify Safety
Deprecated Patterns → Modern
| Deprecated | Modern | Reason | |
|---|---|---|---|
lazy_static | std::sync::OnceLock | std built-in | |
rand::thread_rng | rand::rng() | New API | |
failure | thiserror + anyhow | More popular | |
serde_derive | serde (unified) | Simpler imports |
Quick Reference
| Scenario | Recommended Stack | |
|---|---|---|
| Web service | axum + tokio + sqlx + serde | |
| CLI tool | clap + anyhow + config | |
| Serialization | serde + (json/bincode/postcard) | |
| Parallel compute | rayon | |
| Config management | config + dotenvy | |
| Logging | tracing + tracing-subscriber | |
| Testing | tempfile + rstest + proptest | |
| Date/time | chrono or time |
Review Checklist
When selecting crates:
- [ ] Crate is actively maintained (updated within 6 months)
- [ ] Good documentation and examples
- [ ] Reasonable dependency count
- [ ] No known security issues (cargo audit)
- [ ] Compatible license (MIT/Apache2)
- [ ] MSRV compatible with project
- [ ] High download count and community usage
- [ ] Stable API (1.0+ or widely used)
Verification Commands
Common Pitfalls
1. Too Many Dependencies
Symptom: Long compile times, dependency conflicts
2. Unmaintained Crates
Symptom: Security vulnerabilities, incompatibilities
3. Version Conflicts
Symptom: Build failures, duplicate dependencies
Related Skills
- rust-async - Async runtime patterns
- rust-web - Web framework usage
- rust-error - Error handling libraries
- rust-testing - Testing libraries
- rust-performance - Performance-critical crates
Localized Reference
- Chinese version: SKILL_ZH.md - 完整中文版本,包含所有内容
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/rust-ecosystem/SKILL.md
Popularity
- Repository stars
- 20
- Repository forks
- 4
- 7-day trend score
- 15
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 20 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/huiali/rust-skills/rust-ecosystem)