Añade el servidor web actix-web

This commit is contained in:
Manuel Cillero 2022-02-10 23:12:53 +01:00
parent 6ed78e3934
commit 13a408ce61
9 changed files with 92 additions and 0 deletions

6
src/main.rs Normal file
View file

@ -0,0 +1,6 @@
use pagetop::core::server;
#[pagetop::main]
async fn main() -> std::io::Result<()> {
server::run()?.await
}