| Crates.io | webring-plusplus-server-actix |
| lib.rs | webring-plusplus-server-actix |
| version | 0.1.3 |
| created_at | 2021-04-19 22:07:10.365624+00 |
| updated_at | 2024-07-10 13:16:05.681417+00 |
| description | A webring++ service implementation for actix-web |
| homepage | |
| repository | https://github.com/webring-plusplus/server-actix |
| max_upload_size | |
| id | 386833 |
| size | 37,156 |
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
}