https://github.com/paologaleotti/cadmium
Ergonomic and minimal template to build Rust HTTP services
https://github.com/paologaleotti/cadmium
api backend minimal rust starter template
Last synced: 5 months ago
JSON representation
Ergonomic and minimal template to build Rust HTTP services
- Host: GitHub
- URL: https://github.com/paologaleotti/cadmium
- Owner: paologaleotti
- Created: 2024-02-21T18:29:23.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-04-14T14:26:45.000Z (over 1 year ago)
- Last Synced: 2025-07-13T10:46:38.874Z (about 1 year ago)
- Topics: api, backend, minimal, rust, starter, template
- Language: Rust
- Homepage:
- Size: 193 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cadmium

Ergonomic and reliable remplate to build Rust web applications
> ⚠️ WIP: Head to the [TODO.md](TODO.md) file to follow the development.
## Features
- Minimal core template
- Extremely reliable and type-safe
- Ergonomic and easy to understand
- Based on `tokio` and `axum` ecosystem
- HTTP utilities
- Custom API error handling
- Panic recovery
- Custom body validation
- Strict body and params typing inside HTTP handlers
- Full AWS Lambda support (branch [feature/serverless](https://github.com/paologaleotti/cadmium/tree/feature/serverless))
## Stack
- **axum**: web framework based on tokio/tower
- **Tokio**: asynchronous runtime
- **tracing**: instrumentation and logging