algohub-server 0.1.18

Extremely fast async online judge backend based on Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use algohub_server::routes::index::init_db;
use rocket::launch;

#[launch]
async fn rocket() -> _ {
    algohub_server::rocket(
        init_db("localhost:5177")
            .await
            .expect("Failed to initialize database, shutting down..."),
    )
    .await
}