feat: implement basic server

This demo can:
- Serve a webpage
- Serve static assets
- Asynchronously fetch html
This commit is contained in:
2023-05-09 20:56:09 +02:00
parent 351d6d2f64
commit ea59f1ed1e
10 changed files with 1778 additions and 2 deletions

View File

@@ -6,3 +6,9 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
actix-files = "0.6.2"
actix-web = "4.3.1"
actix-web-lab = "0.19.1"
askama = "0.12.0"
env_logger = "0.10.0"
log = "0.4.17"