Skip to content
R

rust-async-patterns

Production patterns for async Rust

by wshobsonFree

Launch
#1819in AI Skills
0In stores

Description

rust-async-patterns is an agent skill from the wshobson/agents collection for writing production async Rust code with the Tokio runtime. It…

Highlights

  • Tokio-based async patterns for Rust
  • Concurrent tasks with JoinSet and select!
  • mpsc, broadcast, oneshot and watch channels
  • Error types with anyhow and thiserror
  • Graceful shutdown guidance
  • Installs with the skills CLI

Ratings & Reviews

No ratings yet

Be the first to rate rust-async-patterns.

People also visit

A

async-python-patterns

Comprehensive guide to asyncio, concurrent patterns

AI Skills
Launch
R

rust-patterns

Idiomatic Rust patterns, ownership, error handling, traits, concurrency

AI Skills
Launch
G

go-concurrency-patterns

Master Go concurrency with goroutines, channels, sync primitives, and context

AI Skills
Launch
M

memory-safety-patterns

Implement memory-safe programming

AI Skills
Launch
A

async-io-model

Explanations of common asynchronous patterns used in tursodb

AI Skills
Launch
G

golang-concurrency

Golang concurrency design

AI Skills
Launch

rust-async-patterns FAQ

Which runtime does it target?

Tokio, the async runtime most Rust network services use.

Which channel types are covered?

mpsc, broadcast, oneshot and watch, each for a different way of passing messages between tasks.

How are errors handled?

With custom error types built using anyhow and thiserror.

Does it cover shutdown?

Yes. Graceful shutdown is among the patterns.

How do I install it?

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

What security audits does it have?

skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.

What are the best rust-async-patterns alternatives?

Popular alternatives to rust-async-patterns include async-python-patterns, rust-patterns and go-concurrency-patterns. See all rust-async-patterns alternatives

Developer Stuff

Badges