mirror of
https://github.com/actix/examples
synced 2025-06-26 17:17:42 +02:00
update actix web to stable version
This commit is contained in:
@ -9,7 +9,7 @@ path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
actix = "0.12"
|
||||
actix-web = "4.0.0-rc.3"
|
||||
actix-web = "4"
|
||||
actix-web-actors = "4.0.0-beta.12"
|
||||
|
||||
env_logger = "0.9"
|
||||
|
@ -10,8 +10,8 @@ path = "src/main.rs"
|
||||
[dependencies]
|
||||
actix = "0.12"
|
||||
actix-broker = "0.4"
|
||||
actix-files = "0.6.0-beta.16"
|
||||
actix-web = "4.0.0-rc.3"
|
||||
actix-files = "0.6"
|
||||
actix-web = "4"
|
||||
actix-web-actors = "4.0.0-beta.12"
|
||||
|
||||
env_logger = "0.9"
|
||||
|
@ -14,8 +14,8 @@ path = "src/client.rs"
|
||||
[dependencies]
|
||||
actix = "0.12"
|
||||
actix-codec = "0.4.1"
|
||||
actix-files = "0.6.0-beta.16"
|
||||
actix-web = "4.0.0-rc.3"
|
||||
actix-files = "0.6"
|
||||
actix-web = "4"
|
||||
actix-web-actors = "4.0.0-beta.11"
|
||||
|
||||
byteorder = "1.2"
|
||||
|
@ -107,7 +107,7 @@ impl Handler<Connect> for ChatServer {
|
||||
println!("Someone joined");
|
||||
|
||||
// notify all users in same room
|
||||
self.send_message(&"Main".to_owned(), "Someone joined", 0);
|
||||
self.send_message("Main", "Someone joined", 0);
|
||||
|
||||
// register session with random id
|
||||
let id = self.rng.gen::<usize>();
|
||||
|
@ -9,8 +9,8 @@ path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
actix = "0.12"
|
||||
actix-files = "0.6.0-beta.16"
|
||||
actix-web = "4.0.0-rc.3"
|
||||
actix-files = "0.6"
|
||||
actix-web = "4"
|
||||
actix-web-actors = "4.0.0-beta.12"
|
||||
|
||||
env_logger = "0.9"
|
||||
|
@ -14,9 +14,9 @@ path = "src/client.rs"
|
||||
[dependencies]
|
||||
actix = "0.12"
|
||||
actix-codec = "0.5"
|
||||
actix-files = "0.6.0-beta.16"
|
||||
actix-files = "0.6"
|
||||
actix-rt = "2"
|
||||
actix-web = "4.0.0-rc.3"
|
||||
actix-web = "4"
|
||||
actix-web-actors = "4.0.0-beta.12"
|
||||
awc = "3.0.0-beta.21"
|
||||
|
||||
|
Reference in New Issue
Block a user