moai-lang-rust

Provide Rust patterns for Axum, Tokio, SQLx, Serde, and WASM applications.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/binee108/PasteTrader --skill moai-lang-rust-binee108
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: moai-lang-rust
Source: https://github.com/binee108/PasteTrader/tree/main/.claude/skills/moai-lang-rust
Command: npx skills add https://github.com/binee108/PasteTrader --skill moai-lang-rust-binee108

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers build high-performance, memory-safe Rust applications by providing patterns and integration guidance.

Core Features & Use Cases

  • Rust 1.92+ feature patterns for building robust backends and components.
  • Asynchronous web services with Axum and Tokio, with SQLx integration for async DB access.
  • Memory-safe systems programming with compile-time checks and Serde-based data models.
  • Use Case: Build a REST API with Axum, store data in PostgreSQL via SQLx, and expose WASM-ready components for client apps.

Quick Start

Initialize a Rust 1.92+ project, add dependencies axum, tokio, sqlx, and serde, and scaffold a minimal API to run on port 8080.

Frequently Asked Questions about moai-lang-rust

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a high-performance REST API with Axum and Tokio in Rust?▼

To build an async REST API with Axum and Tokio, initialize a Rust 1.92+ project, add axum and tokio dependencies, and scaffold a minimal API to run on port 8080. This skill provides integration patterns for async web services with compile-time memory safety.

How does SQLx integrate with Axum for async database access?▼

SQLx integrates with Axum by providing asynchronous database access patterns within your Rust web services. This skill demonstrates using SQLx to store data in PostgreSQL, ensuring async DB queries work seamlessly with Tokio's async runtime.

Can I use Serde to create memory-safe data models for WebAssembly targets?▼

Yes, you can use Serde to create memory-safe data models for WebAssembly targets. This skill provides Rust 1.92+ feature patterns to expose WASM-ready components for client apps, leveraging compile-time checks and Serde-based data serialization.

What is the best way to structure a Rust microservice with Axum and SQLx?▼

The best way to structure a Rust microservice with Axum and SQLx is to apply Rust 1.92+ feature patterns for robust backends. This skill guides setting up dependencies via cargo, enforcing pattern usage, and integrating async DB access for scalable microservices.

Does this Rust skill support building CLIs and WASM components simultaneously?▼

Yes, this Rust skill supports building both CLIs and WASM components. It provides integration guidance across Axum, Tokio, SQLx, Serde, and WebAssembly, allowing you to build memory-safe systems programming components for both targets.

Why use Rust 1.92+ for async web services and memory-safe systems programming?▼

Use Rust 1.92+ for async web services to leverage advanced feature patterns that ensure memory safety and high performance. This skill demonstrates applying compile-time checks, Serde-based data models, and async DB access for robust backend components.