rust-async-await-module-patterns

Official

Master Rust async/await & module patterns.

Authorkreuzberg-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides clear guidelines and best practices for structuring Rust code that utilizes asynchronous programming with async/await, ensuring robust and maintainable module patterns.

Core Features & Use Cases

  • Tokio Runtime Management: Demonstrates efficient sharing of a single Tokio runtime instance.
  • FFI Safety: Details how to ensure Send + Sync compliance for types exposed to Foreign Function Interfaces.
  • Module Organization: Offers a recommended directory structure for separating sync, async, and bridge logic.
  • Use Case: A developer building a high-performance Rust library that needs to interact with synchronous codebases like Python or Ruby can use these patterns to manage async operations safely and efficiently.

Quick Start

Consult the documentation for best practices on managing Rust async runtimes and FFI safety.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rust-async-await-module-patterns
Download link: https://github.com/kreuzberg-dev/html-to-markdown/archive/main.zip#rust-async-await-module-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.