1
0
mirror of https://github.com/actix/examples synced 2024-11-27 16:02:57 +01:00

use new actix-rt

This commit is contained in:
Nikolay Kim 2019-03-06 10:29:01 -08:00
parent 10731e43c6
commit 80615b8579
4 changed files with 4 additions and 6 deletions

View File

@ -6,7 +6,7 @@ workspace = "../"
edition = "2018"
[dependencies]
actix-rt = "0.1"
actix-rt = "0.2"
actix-web = { git="https://github.com/actix/actix-web.git", branch = "1.0" }
actix-session = { git="https://github.com/actix/actix-web.git", branch = "1.0" }
actix-staticfiles = { git="https://github.com/actix/actix-web.git", branch = "1.0" }

View File

@ -138,6 +138,5 @@ fn main() -> io::Result<()> {
.start();
println!("Starting http server: 127.0.0.1:8080");
let _ = sys.run();
Ok(())
sys.run()
}

View File

@ -6,7 +6,7 @@ edition = "2018"
workspace = "../"
[dependencies]
actix-rt = "0.1"
actix-rt = "0.2"
actix-web = { git="https://github.com/actix/actix-web.git", branch = "1.0" }
futures = "0.1"

View File

@ -53,6 +53,5 @@ fn main() -> io::Result<()> {
.bind("127.0.0.1:8080")?
.start();
let _ = sys.run();
Ok(())
sys.run()
}