Rust Backend Standards (Axum & Tokio)
Enforces high-quality Rust backend development practices using the Axum and Tokio ecosystem.
This skill provides a comprehensive framework for developing robust, production-grade Rust backend services. It streamlines project setup and maintenance by enforcing opinionated best practices for the Axum and Tokio stack, covering everything from error handling with thiserror and anyhow to async safety, domain-driven module organization, and automated linting. Designed for developers building scalable web APIs, it ensures code consistency, prevents common async pitfalls like deadlocks, and optimizes dependency management for security and performance.
Características Principales
01Opinionated project architecture guidelines for Axum-based web services.
02777 GitHub stars
03Strict error handling protocols using thiserror, anyhow, and custom IntoResponse traits.
04Pre-configured toolchain commands for Clippy, CVE scanning, and dependency auditing.
05Async safety checks to prevent blocking the runtime and improper Mutex usage.
06Standardized naming conventions and ownership patterns for high-performance code.
Casos de Uso
01Bootstrapping a new high-performance web API with Axum and SQLx.
02Refactoring existing Rust backend code to improve async safety and error propagation.
03Standardizing coding styles and security audits across a Rust development team.