backend-rust

majiayu000's avatarfrom majiayu000

Rust/WASM backend in api-rust/. High-performance alternative using workers-rs, utoipa for OpenAPI, and Supabase REST API. Port 9999 for local dev. 10-100x faster than Python.

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 5, 2026⬇️1downloads

When & Why to Use This Skill

This Claude skill empowers developers to build high-performance backends using Rust and WebAssembly (WASM) specifically optimized for Cloudflare Workers. By leveraging workers-rs and utoipa, it automates the creation of API routes, type-safe data models, and Supabase integrations, delivering execution speeds 10-100x faster than traditional Python-based backends.

Use Cases

  • Developing ultra-low latency serverless APIs on Cloudflare Workers using Rust and WASM.
  • Automating the generation of OpenAPI-compliant documentation and route handlers for backend services.
  • Implementing type-safe database operations and REST client interactions with Supabase in a Rust environment.
  • Migrating performance-critical backend logic from Python to Rust to achieve significant speed improvements.
  • Configuring secure JWT authentication and authorization workflows for modern web applications.
namebackend-rust
descriptionRust/WASM backend in api-rust/. High-performance alternative using workers-rs, utoipa for OpenAPI, and Supabase REST API. Port 9999 for local dev. 10-100x faster than Python.

Skill: Backend Rust

High-performance Rust backend development for Cloudflare Workers.

Routing Logic

Analyze the user's intent and route to the appropriate workflow:

Route Development → workflows/create-route.md

  • "Create a Rust endpoint for [feature]"
  • "Add a route handler for [resource]"
  • "Implement [endpoint] in Rust"

Model Development → workflows/create-model.md

  • "Create a Rust struct for [entity]"
  • "Add serde model for [data]"
  • "Define types for [feature]"

Database Operations → workflows/database.md

  • "Query Supabase from Rust"
  • "Use the Supabase REST client"

Authentication → workflows/auth.md

  • "Protect Rust endpoint"
  • "Validate JWT in Rust"

Configuration Questions → context/config.md

  • "How do I build the Rust backend?"
  • "What's the binary size?"
  • "How to optimize WASM?"

Workflows

  • workflows/create-route.md - Create new API endpoints
  • workflows/create-model.md - Define Rust structs
  • workflows/database.md - Supabase REST operations
  • workflows/auth.md - JWT authentication

Context

  • context/config.md - Build and deployment config
  • context/structure.md - Directory structure
  • context/patterns.md - Common Rust patterns