1 unstable release
Uses new Rust 2024
| 0.1.0 | Jan 6, 2026 |
|---|
#8 in #http-rpc
50KB
1.5K
SLoC
Lxy
Lxy is a convenient async http and RPC framework in Rust, based on axum.
Features
- Easy to use and extend
- Built-in support for configuration management
- Dependency injection container
- Middleware support
Example
#[tokio::main]
async fn main() {
let app = lxy::App::builder()
.with_http(|router: &mut Router| {
router.get("/", "Hello, Lxy!")
})
.builder();
app.start().await;
}
TODOs
- Core
- Config
- Routing
- Middleware
- Dependency Injection
- gRPC
- WebSocket
- SSE
- Testing
- More examples and documentation
License
MIT
Dependencies
~12–22MB
~341K SLoC