Cadmium
⚠️ Warning: Cadmium is still in early development and needs further testing and tweaking.
Cadmium is a Rust template for backend development enabling you to build resilient web services with ease.
Cadmium is based on the Tokio runtime ecosystem and axum as the web server. It is 100% compatible
with all the tokio HTTP layers, tracing, networking and other ecosystem libraries.
The main use case for cadmium is to build performance or safety-critical
services without sacrificing the development speed and ergonomics. For now it is mainly focused on building HTTP services,
but its structure is flexible and can be used, for example, to build distributed systems using gRPC (Tonic) or other types of communication.
Features
- Ergonomic: Thanks to axum, cadmium is very easy to use and understand.
- Type-safe: Cadmium provides a set of utilities to have type-safe requests.
- Automatic validation: Request bodies are safe and automatically validated using
serde. - Custom API error handling and panic recovery
- Full AWS Lambda support
- Extreme safety and performance: Using Rust and Tokio guarantees the best performance and safety.