caslex
caslex is a set of tools for creating web services.
More information about this crate can be found in the crate documentation.
High level features
- HTTP web server
- HTTP middlewares (auth, metrics, trace)
- Builtin OpenAPI visualizer
- Errors handling
- JWT
- Postgres Pool
- Observability
- Extra utils
Usage example
use ;
use ;
async
async
You can find this example as well as other example projects in the example directory.
See the crate documentation for way more examples.
Safety
This crate uses #![forbid(unsafe_code)] to ensure everything is implemented in 100% safe Rust.
Examples
The examples folder contains various examples of how to use axum. The docs also provide lots of code snippets and examples.
Projects
List of projects using caslex:
- rust-simple-chat: sample project.
License
This project is licensed under the MIT license.