rust-async-patterns
Production patterns for async Rust programming with Tokio, covering tasks, channels, streams, and error handling.
Install
npx skills add https://github.com/wshobson/agents --skill rust-async-patternsStats
| Total installs | 6,429 |
| Weekly installs | 6.4K |
| GitHub stars | 32.4K |
| First seen | Jan 20, 2026 |
| Source | @wshobson/agents |
Summary
- Covers seven core patterns: concurrent task execution with JoinSet and select!, multi-producer channels (mpsc, broadcast, oneshot, watch), custom error types with anyhow and thiserror, graceful shutdown via CancellationToken, async traits with async_trait, streams and async iteration, and resource pooling with RwLock and Semaphore
- Includes practical examples for racing futures, limiting concurrency, timeout handling, and task cancellation across shutdown scenarios
- Provides debugging guidance using tokio-console, tracing instrumentation, and common pitfalls like blocking in async contexts or holding locks across awaits
- Best practices section covers when to use channels over shared state, proper error propagation, and spawn limits to prevent resource exhaustion
Tags
Related skills
| Skill | Installs | vs rust-async-patterns |
|---|---|---|
| rag-implementation | 4,924 | -1,505 |
| centos-linux-triage | 7,399 | +970 |
| java-spring-boot | 5,426 | -1,003 |
| organization-best-practices | 6,282 | -147 |
| laravel-specialist | 7,023 | +594 |
FAQ
- How many installs does rust-async-patterns have?
- rust-async-patterns has 6,429 total installs and 6.4K installs this week.
- Where is rust-async-patterns hosted?
- rust-async-patterns is published by @wshobson/agents at https://github.com/wshobson/agents.
- How many GitHub stars does rust-async-patterns have?
- rust-async-patterns has 32.4K GitHub stars.
- When was rust-async-patterns first indexed?
- OrangeBot.AI first indexed rust-async-patterns on Jan 20, 2026.
- How do I install rust-async-patterns?
- Run: npx skills add https://github.com/wshobson/agents --skill rust-async-patterns