1
0
mirror of https://github.com/actix/examples synced 2025-06-28 09:50:36 +02:00

update dependencies

This commit is contained in:
Nikolay Kim
2019-12-20 22:30:26 +06:00
parent 7b35cd32c7
commit d914b1c694
42 changed files with 70 additions and 80 deletions

View File

@ -5,7 +5,7 @@ authors = ["Alexandru Tiniuc <tiniuc.alexandru@gmail.com>"]
edition = "2018"
[dependencies]
actix-web = "2.0.0-alpha.6"
actix-web = "2.0.0-rc"
actix-rt = "1.0.0"
handlebars = "2.0.0-beta.2"
handlebars = "2.0.0"
serde_json = "1.0"

View File

@ -49,7 +49,7 @@ async fn main() -> io::Result<()> {
HttpServer::new(move || {
App::new()
.register_data(handlebars_ref.clone())
.app_data(handlebars_ref.clone())
.service(index)
.service(user)
})