Skip to main content
Back to registry

rust-async-patterns

wshobson/agents

Production patterns for async Rust programming with Tokio runtime, including tasks, channels, streams, and error handling.

Installs4
Install command
npx skills add https://github.com/wshobson/agents --skill rust-async-patterns
Security audits
Gen Agent Trust HubPASS
SocketFAIL
SnykPASS
About this skill
Production patterns for async Rust programming with Tokio runtime, including tasks, channels, streams, and error handling. - Building async Rust applications - Implementing concurrent network services - Using Tokio for async I/O - Handling async errors properly - Debugging async code issues - Optimizing async performance - Use tokio::select! - For racing futures - Prefer channels - Over shared state when possible - Use JoinSet - For managing multiple tasks - Instrument with tracing - For debugging async code - Handle cancellation - Check CancellationToken - Don't block - Never use std::thread::sleep in async - Don't hold locks across awaits - Causes deadlocks - Don't spawn unboundedly - Use semaphores for limits - Don't ignore errors - Propagate with ? or log - Don't forget Send bounds - For spawned futures

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does rust-async-patterns do?

Production patterns for async Rust programming with Tokio runtime, including tasks, channels, streams, and error handling.

Is rust-async-patterns good?

rust-async-patterns does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does rust-async-patterns work with?

rust-async-patterns currently lists compatibility with Agent compatibility has not been published yet..

What are alternatives to rust-async-patterns?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install rust-async-patterns?

npx skills add https://github.com/wshobson/agents --skill rust-async-patterns

Related skills

More from wshobson/agents

Related skills

Alternatives in Software Engineering