mirror of
https://github.com/actix/examples
synced 2025-06-26 17:17:42 +02:00
update deps
This commit is contained in:
@ -6,7 +6,7 @@ workspace = ".."
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "2.0.0-rc"
|
||||
actix-web = "2.0.0"
|
||||
actix-rt = "1.0.0"
|
||||
actix-service = "1.0.0"
|
||||
|
||||
|
@ -80,7 +80,7 @@ async fn main() -> std::io::Result<()> {
|
||||
.service(web::resource("/").route(web::post().to(index)))
|
||||
})
|
||||
.bind("127.0.0.1:8080")?
|
||||
.start()
|
||||
.run()
|
||||
.await
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user