rust-web-apis

Build RESTful and GraphQL web APIs in Rust with Axum, Tower, and SQLx.

Updated Jan 20, 2026
One-click install
npx skills add https://github.com/Davincible/GHOSTNET --skill rust-web-apis
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: rust-web-apis
Source: https://github.com/Davincible/GHOSTNET/tree/main/.opencode/skill/rust-web-apis
Command: npx skills add https://github.com/Davincible/GHOSTNET --skill rust-web-apis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers build production-grade Rust web services and APIs efficiently, leveraging Axum, Tower, SQLx, SeaORM, and observability tooling for robust routing, extraction, and state management.

Core Features & Use Cases

  • End-to-end Rust web API development with Axum 0.8+ and Tower-based middleware.
  • Seamless database integration using SQLx or SeaORM, with typed extractors, routing and state patterns.
  • Observability, testing, and deployment-ready patterns for scalable microservices and backend systems.

Quick Start

Install Rust and set up a new project, add dependencies for axum, tokio, sqlx/sea-orm, and start a minimal Router-based app using a simple GET route and run with cargo run.

Frequently Asked Questions about rust-web-apis

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

FAQPage Schema
How do I build a production-grade Rust web API with Axum?▼

Build a production-grade Rust web API using Axum 0.8+ and Tower middleware for robust routing, extraction, and state management. This approach enforces standard practices for scalable microservices and data-driven endpoints from MVPs to production systems.

What is the best way to integrate SQLx or SeaORM for data access in Rust backend services?▼

Integrate SQLx or SeaORM for data access in Rust backend services by leveraging typed extractors and state patterns. This enables seamless database integration within your Axum-based web API for scalable, data-driven endpoints.

Does this Rust web API skill support both RESTful and GraphQL endpoint development?▼

Yes, this skill supports building both RESTful and GraphQL web APIs in Rust. It uses the Tokio runtime alongside Axum and Tower to design scalable microservices and data-driven endpoints from MVPs to production systems.

How do I add observability and tracing to an Axum web service?▼

Add observability and tracing to an Axum web service by applying standard middleware and observability tooling. This skill enforces tracing practices to ensure your Rust backend systems are deployment-ready and scalable.

Can I use Tower middleware for state management in Rust microservices?▼

Yes, you can use Tower-based middleware for state management in Rust microservices. Combined with Axum 0.8+ and the Tokio runtime, it provides robust routing, extraction, and state patterns for production-grade web APIs.