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 |
#300 in HTTP server
148 downloads per month
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
~15–25MB
~432K SLoC