3 releases
0.1.2 | Apr 20, 2021 |
---|---|
0.1.1 | Apr 20, 2021 |
0.1.0 | Apr 19, 2021 |
#104 in #discovery
45 downloads per month
13KB
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
~27MB
~585K SLoC