mirror of
https://github.com/actix/examples
synced 2025-06-28 09:50:36 +02:00
update deps
This commit is contained in:
@ -5,7 +5,7 @@ authors = ["Kai Yao <kai.b.yao@gmail.com>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "2.0.0-rc"
|
||||
actix-web = "2.0.0"
|
||||
actix-rt = "1.0.0"
|
||||
failure = "0.1"
|
||||
futures = "0.3"
|
||||
|
@ -45,6 +45,6 @@ async fn main() -> io::Result<()> {
|
||||
})
|
||||
.bind(ip_address)
|
||||
.expect("Can not bind to port 8000")
|
||||
.start()
|
||||
.run()
|
||||
.await
|
||||
}
|
||||
|
Reference in New Issue
Block a user