moai-lang-rust

Build RESTful services with Axum, Tokio, SQLx, and Serde in Rust 1.92+.

1|Updated Jan 10, 2026
One-click install
npx skills add https://github.com/GoosLab/moai-rank --skill moai-lang-rust-gooslab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-lang-rust
Source: https://github.com/GoosLab/moai-rank/tree/main/.claude/skills/moai-lang-rust
Command: npx skills add https://github.com/GoosLab/moai-rank --skill moai-lang-rust-gooslab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Rust 1.92+ development expertise is required to build high-performance, memory-safe applications across modern Rust ecosystems.

Core Features & Use Cases

  • Axum-based REST APIs with Tokio for asynchronous scalability.
  • SQLx integration for type-safe, compile-time checked database access.
  • Serde-driven serialization for JSON and data interchange.
  • WebAssembly targets for client-side or edge deployments.
  • Memory-safety guarantees for concurrent systems.
  • Rich ecosystem compatibility with cargo workflows.

Quick Start

Start by scaffolding a Rust 1.92+ project and implementing a memory-safe Axum API using Tokio, SQLx, and Serde.

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 REST API with Axum and Tokio in Rust?

To build a REST API with Axum and Tokio in Rust, you scaffold a Rust 1.92+ project, implement Axum routing, and use the Tokio asynchronous runtime for scalable, memory-safe concurrent network services.

What's the best way to use SQLx for compile-time checked database queries in Rust?

The best way to use SQLx for compile-time checked database access in Rust is integrating it within an Axum application, leveraging Rust 1.92+ features to enforce type-safe SQL queries and robust error-handling patterns.

Does Rust support compiling to WebAssembly for edge deployments?

Yes, Rust supports WebAssembly targets for client-side or edge deployments, utilizing cargo workflows alongside Serde-driven serialization for efficient data interchange in memory-safe WebAssembly applications.

Can I use Serde for JSON serialization in an Axum web service?

Yes, you can use Serde for JSON serialization in an Axum web service, seamlessly integrating data interchange with Tokio asynchronous runtimes and SQLx database access for high-performance Rust 1.92+ applications.

What Rust version is required for modern Axum and SQLx development?

Rust 1.92 or higher is required for modern Axum and SQLx development, ensuring compatibility with the latest language features for memory-safety guarantees, asynchronous runtimes, and robust error-handling patterns.

How do I handle errors in an asynchronous Tokio and Axum application?

To handle errors in an asynchronous Tokio and Axum application, implement a robust error-handling pattern enforced by Rust 1.92+ features, ensuring memory safety across concurrent database and RESTful service operations.