mirror of
https://github.com/actix/examples
synced 2025-06-26 09:17:41 +02:00
update deps
This commit is contained in:
@ -7,7 +7,7 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
actix-rt = "1.0.0"
|
||||
actix-web = "2.0.0-rc"
|
||||
actix-web = "2.0.0"
|
||||
env_logger = "0.6"
|
||||
futures = "0.3.1"
|
||||
tokio = "0.2"
|
@ -23,7 +23,7 @@ async fn main() -> std::io::Result<()> {
|
||||
.route("/broadcast/{msg}", web::get().to(broadcast))
|
||||
})
|
||||
.bind("127.0.0.1:8080")?
|
||||
.start()
|
||||
.run()
|
||||
.await
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user