What problem does it solve?
This Skill provides comprehensive guidance and tools for the entire Rust Software Development Lifecycle, ensuring robust, safe, and performant code from inception to deployment.
Core Features & Use Cases
- Project Setup & Management: Initialize new Rust projects using Cargo, manage dependencies, and configure workspaces.
- Memory Safety & Error Handling: Implement idiomatic Rust patterns for ownership, borrowing, lifetimes, and robust error management with
thiserror and anyhow.
- Asynchronous Programming: Leverage Tokio for concurrent operations, spawning tasks, and managing asynchronous workflows.
- Testing & Quality: Write unit, integration, and benchmark tests, and integrate mocking with
mockall.
- Web Development: Build web services using popular frameworks like Axum and Actix Web.
- Database Integration: Utilize SQLx for compile-time checked SQL queries.
- CI/CD & Deployment: Set up CI pipelines with GitHub Actions, manage pre-commit hooks, and create efficient Docker images.
- Cross-Compilation: Target various platforms using tools like
cross.
Quick Start
Use the rust-sdlc skill to create a new Rust binary project named 'my_app'.