1
0
mirror of https://github.com/actix/examples synced 2025-06-28 09:50:36 +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 @@ workspace = ".."
[dependencies]
actix-rt = "1.0.0"
actix-web = { version="2.0.0-rc", features=["openssl"] }
actix-web = { version="2.0.0", features=["openssl"] }
futures = "0.3.1"
serde = "1.0.43"

View File

@ -95,6 +95,6 @@ async fn main() -> io::Result<()> {
.service(web::resource("/something").route(web::post().to(create_something)))
})
.bind(endpoint)?
.start()
.run()
.await
}