mirror of
https://github.com/actix/examples
synced 2025-06-28 18:00:37 +02:00
update deps
This commit is contained in:
@ -5,7 +5,7 @@ authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "2.0.0-rc"
|
||||
actix-web = "2.0.0"
|
||||
actix-rt = "1.0.0"
|
||||
env_logger = "0.6"
|
||||
askama = "0.8"
|
||||
|
@ -35,6 +35,6 @@ async fn main() -> std::io::Result<()> {
|
||||
App::new().service(web::resource("/").route(web::get().to(index)))
|
||||
})
|
||||
.bind("127.0.0.1:8080")?
|
||||
.start()
|
||||
.run()
|
||||
.await
|
||||
}
|
||||
|
Reference in New Issue
Block a user