5 releases

0.1.4 Jul 25, 2023
0.1.3 Jul 25, 2023
0.1.2 Jul 25, 2023
0.1.0 Aug 26, 2022
0.0.1 Aug 25, 2022

#743 in HTTP server

26 downloads per month

MIT/Apache

35KB
770 lines

North Framework

A microservice framework

Getting Started

/// Entry into Example service
#[tokio::main]
pub async fn main() -> std::io::Result<()> {
    //#region Setup Server
    let north_app = power::<Api>()
        .graceful_shutdown()
        .address("localhost")
        .name("Example Service")
        .path_prefix("/api")
        .port("8080")
        .api(Api)
        .up();

    north_app.start().await
    //#endregion
}

Dependencies

~43–62MB
~1.5M SLoC