Skip to content

Lumx a modular Rust framework focused on simplicity, with a plug-in system for easy integration with tools like axum and sea-orm.

Notifications You must be signed in to change notification settings

iDesoftSystems/lumx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What's Lumx?

Lumx is a lightweight, modular application framework designed to prioritize simplicity and flexibility. It features an easily extensible plug-in architecture, enabling seamless integration with other prominent Rust community projects, such as axum, sea-orm, and many others.

Getting Started

Add to your Cargo.toml dependencies:

[dependencies]
lumx_core = { git = "https://github.com/iDesoftSystems/lumx.git", branch = "main" }
lumx_axum = { git = "https://github.com/iDesoftSystems/lumx.git", branch = "main" }

You can now build your program and easily integrate plugins.

use lumx_axum::{
    axum::{routing, Router},
    plugin::WebPlugin,
    router::ProgramRoutable,
};
use lumx_core::{program::Program, tokio};

#[tokio::main]
async fn main() {
    Program::new()
        .add_router(router())
        .add_plugin(WebPlugin)
        .run()
        .await
}

fn router() -> Router {
    Router::new().route("/", routing::get(|| async { "Hello, world" }))
}

Start your app.

cargo run

About

Lumx a modular Rust framework focused on simplicity, with a plug-in system for easy integration with tools like axum and sea-orm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages