spring 0.0.7

Rust microservice framework
Documentation

spring-rs is a microservice framework written in rust, similar to SpringBoot in java. spring-rs provides an easily extensible plug-in system for integrating excellent projects in the rust community, such as axum, sqlx, sea-orm, etc.

Example

use spring::{get, auto_config, App};
use spring_web::{response::IntoResponse, WebConfigurator, WebPlugin};

#[auto_config(WebConfigurator)]
#[tokio::main]
async fn main() {
    App::new()
        .add_plugin(WebPlugin)
        .run()
        .await
}

#[get("/")]
async fn hello_world() -> impl IntoResponse {
    "hello world"
}

Supported plugins