lxy

Crates.iolxy
lib.rslxy
version0.1.0
created_at2026-01-06 10:29:55.031077+00
updated_at2026-01-06 10:29:55.031077+00
descriptionA convenient async http and RPC framework in Rust
homepagehttps://github.com/forehalo/lxy
repositoryhttps://github.com/forehalo/lxy
max_upload_size
id2025559
size77,087
Yii (forehalo)

documentation

README

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

Commit count: 0

cargo fmt