moai-lang-rust

Guide Rust 1.92+ development with Axum, Tokio, SQLx, and Serde.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/thkim2015/pdf-tool --skill moai-lang-rust-thkim2015
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-lang-rust
Source: https://github.com/thkim2015/pdf-tool/tree/main/.claude/skills/moai-lang-rust
Command: npx skills add https://github.com/thkim2015/pdf-tool --skill moai-lang-rust-thkim2015

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides expert guidance for developing high-performance, memory-safe applications and WebAssembly modules using Rust, covering modern features and best practices.

Core Features & Use Cases

  • Web Services: Build robust REST APIs and microservices with Axum and Tokio.
  • Systems Programming: Develop efficient CLI tools, system utilities, and low-latency networking services.
  • WebAssembly: Compile Rust code to run efficiently in web browsers or other WASM runtimes.
  • Use Case: You need to build a new microservice that handles a high volume of requests with minimal latency and guarantees memory safety. This Skill will guide you through setting up an Axum API with Tokio, using SQLx for database interactions, and implementing robust error handling.

Quick Start

Use the moai-lang-rust skill to create a basic Axum REST API endpoint that returns a JSON response.

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?

You build a high-performance REST API with Axum and Tokio by using Axum for web service routing and Tokio for the async runtime, ensuring minimal latency and robust concurrency for microservices.

What is the best way to handle database access and serialization in a Rust web service?

The best way to handle database access and serialization in a Rust web service is using SQLx for database interactions and Serde for serialization, ensuring type-safe queries and efficient JSON data handling.

Can I compile Rust code to WebAssembly for running in web browsers?

Yes, you can compile Rust code to WebAssembly (WASM) to run efficiently in web browsers or other WASM runtimes, leveraging Rust's memory safety and performance for web modules.

How do advanced Rust patterns improve ownership, lifetimes, and error handling?

Advanced Rust patterns improve ownership, lifetimes, and error handling by enforcing compile-time memory safety without garbage collection, enabling safe concurrency and predictable low-latency systems programming.

Does this Rust development approach support building low-latency networking services and CLI tools?

Yes, this Rust development approach supports building efficient CLI tools, system utilities, and low-latency networking services by utilizing modern features and best practices for memory-safe systems programming.