What problem does it solve?
This Skill provides expert guidance on implementing and reviewing Rust code for the MCPAtlas project, focusing on best practices for performance, concurrency, and maintainability in a long-lived, high-concurrency server environment.
Core Features & Use Cases
- Error Handling: Implement robust error management using
anyhow and thiserror.
- Async/Tokio: Optimize asynchronous operations and state management with Tokio.
- Performance Tuning: Apply strategies for high-throughput responses and efficient resource utilization with Tantivy and caching.
- Testing & Safety: Ensure code quality through comprehensive testing and adherence to safety standards.
- Use Case: When implementing a new feature that involves complex asynchronous data fetching and processing, consult this Skill for guidance on structuring the code, handling potential errors gracefully, and optimizing for performance.
Quick Start
Apply Rust best practices for a long-lived, high-concurrency MCP server.