AI AGENT ADDONS

Rust Async Patterns

wshobson/agents
Programming Languages
15,926installs

Rust async programming helps you write fast and efficient code. This skill teaches you how to use Tokio, async traits, and error handling. You will learn to build concurrent systems and debug async code.

The core ideas are easy to grasp. A Future is a lazy computation that finishes later. An async fn returns a Future. The await keyword pauses until the future completes. A Task runs futures at the same time. A Runtime is the executor that polls futures.

Best practices include using tokio::select! for racing futures and channels instead of shared state. Avoid blocking operations and holding locks across awaits. This skill gives you the patterns you need for production async Rust.

Add Rust Async Patterns skill to your workflow

Global

mkdir -p ~/.claude/skills/rust-async-patterns

Project

mkdir -p .claude/skills/rust-async-patterns

Source Repository

Stars
37,285
Forks
4,009
Watchers
37,285
License
MIT
Last Push
26 days ago
Created
1 year ago