lxy 0.1.1

A convenient async http and RPC framework in Rust
Documentation

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
  • OpenTelemetry integration for tracing (optional)

Example

#[tokio::main]
async fn main() {
  let app = lxy::App::builder()
    .with_http(|router: &mut Router| {
      router.get("/", "Hello, Lxy!")
    })
    .builder();

  app.start().await;
}

Roadmap

Roadmap

License

MIT