1
0
mirror of https://github.com/actix/examples synced 2025-06-28 18:00:37 +02:00

update deps

This commit is contained in:
Nikolay Kim
2019-12-25 20:48:33 +04:00
parent a0812c9b29
commit e8ab9ee7ca
76 changed files with 85 additions and 89 deletions

View File

@ -7,7 +7,7 @@ edition = "2018"
[dependencies]
actix-rt = "1.0.0"
actix-web = "2.0.0-rc"
actix-web = "2.0.0"
bytes = "0.4"
env_logger = "0.6"

View File

@ -136,6 +136,6 @@ async fn main() -> std::io::Result<()> {
.service(web::resource("/add/{name}").route(web::get().to(add)))
})
.bind("127.0.0.1:8080")?
.start()
.run()
.await
}