mirror of
https://github.com/actix/examples
synced 2025-06-28 09:50:36 +02:00
update deps
This commit is contained in:
@ -6,7 +6,7 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
actix-rt = "1.0.0"
|
||||
actix-web = "2.0.0-rc"
|
||||
actix-web = "2.0.0"
|
||||
actix-session = "0.3.0"
|
||||
actix-redis = { version = "0.8.0", features = ["web"] }
|
||||
env_logger = "0.6"
|
||||
|
@ -88,7 +88,7 @@ async fn main() -> std::io::Result<()> {
|
||||
.service(resource("/logout").route(post().to(logout)))
|
||||
})
|
||||
.bind("127.0.0.1:8080")?
|
||||
.start()
|
||||
.run()
|
||||
.await
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user