4 releases

0.1.3 Jul 10, 2024
0.1.2 Apr 20, 2021
0.1.1 Apr 20, 2021
0.1.0 Apr 19, 2021

#310 in HTTP server

Apache-2.0/MIT

11KB

A webring++ server implementation for actix-web.

use webring_plusplus_server_actix::webring_plusplus_service;

#[actix_rt::main]
async fn main() -> Result<()> {
    HttpServer::new(|| {
        App::new().service(webring_plusplus_service(vec![
            Cow::from("askjeeves.com"),
            Cow::from("altavista.com"),
        ]))
    })
    .bind("0.0.0.0:8080")?
    .run()
    .await
}

Dependencies

~14–25MB
~439K SLoC