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

Merge pull request #291 from JohnTitor/bump-deps3

part3: Update dependencies
This commit is contained in:
Yuki Okushi 2020-04-09 00:48:18 +09:00 committed by GitHub
commit 029c888dc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 20 additions and 20 deletions

View File

@ -10,6 +10,7 @@ members = [
"cookie-auth",
"cookie-session",
"diesel",
"docker_sample",
"error_handling",
"form",
"graphql-demo",
@ -48,5 +49,4 @@ members = [
"websocket-chat",
# "websocket-chat-broker",
"websocket-tcp-chat",
"docker_sample",
]

View File

@ -13,8 +13,8 @@ argonautica = "0.2.0"
chrono = { version = "0.4.6", features = ["serde"] }
derive_more = "0.99.0"
diesel = { version = "1.4.2", features = ["postgres", "uuidv07", "r2d2", "chrono"] }
dotenv = "0.14.1"
env_logger = "0.6"
dotenv = "0.15"
env_logger = "0.7"
futures = "0.3.1"
r2d2 = "0.8"
lazy_static = "1.3.0"

View File

@ -8,4 +8,4 @@ edition = "2018"
actix-web = "2.0.0"
actix-rt = "1.0.0"
futures = "0.3.1"
env_logger = "0.6"
env_logger = "0.7"

View File

@ -7,7 +7,7 @@ edition = "2018"
[dependencies]
futures = "0.3.1"
env_logger = "0.6"
env_logger = "0.7"
actix-web = "2.0.0"
actix-files = "0.2.1"

View File

@ -7,7 +7,7 @@ edition = "2018"
[dependencies]
actix-web = "2.0.0"
actix-rt = "1.0.0"
askama = "0.8"
askama = "0.9"
[build-dependencies]
askama = "0.8"
askama = "0.9"

View File

@ -7,5 +7,5 @@ edition = "2018"
[dependencies]
actix-web = "2.0.0"
actix-rt = "1.0.0"
handlebars = "2.0.0"
handlebars = { version = "3.0.0", features = ["dir_source"] }
serde_json = "1.0"

View File

@ -13,7 +13,7 @@ use std::io;
// Macro documentation can be found in the actix_web_codegen crate
#[get("/")]
async fn index(hb: web::Data<Handlebars>) -> HttpResponse {
async fn index(hb: web::Data<Handlebars<'_>>) -> HttpResponse {
let data = json!({
"name": "Handlebars"
});
@ -24,7 +24,7 @@ async fn index(hb: web::Data<Handlebars>) -> HttpResponse {
#[get("/{user}/{data}")]
async fn user(
hb: web::Data<Handlebars>,
hb: web::Data<Handlebars<'_>>,
info: web::Path<(String, String)>,
) -> HttpResponse {
let data = json!({

View File

@ -6,7 +6,7 @@ workspace = ".."
edition = "2018"
[dependencies]
env_logger = "0.6"
env_logger = "0.7"
tera = "1.0"
actix-web = "2.0.0"
actix-rt = "1.0.0"

View File

@ -9,8 +9,8 @@ actix-web = "2.0.0"
actix-files = "0.2.1"
actix-session = "0.3.0"
actix-rt = "1.0.0"
dotenv = "0.13.0"
env_logger = "0.5.10"
dotenv = "0.15"
env_logger = "0.7"
futures = "0.3.1"
log = "0.4.3"
serde = { version = "1.0.69", features = ["derive"] }

View File

@ -6,6 +6,6 @@ workspace = ".."
edition = "2018"
[dependencies]
env_logger = "0.6"
env_logger = "0.7"
actix-web = "2.0.0"
actix-rt = "1.0.0"

View File

@ -10,5 +10,5 @@ actix-web = "2.0.0"
actix-cors = "0.2.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
env_logger = "0.6"
env_logger = "0.7"
futures = "0.3"

View File

@ -15,10 +15,10 @@ actix-web = "2.0.0"
actix-web-actors = "2.0.0"
actix-files = "0.2.1"
rand = "0.6"
rand = "0.7"
bytes = "0.5.3"
byteorder = "1.1"
futures = "0.3.1"
env_logger = "0.6"
env_logger = "0.7"
serde = "1.0"
serde_json = "1.0"

View File

@ -24,7 +24,7 @@ rand = "0.7"
bytes = "0.5.3"
byteorder = "1.2"
futures = "0.3"
env_logger = "0.6"
env_logger = "0.7"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = "0.2.4"

View File

@ -20,6 +20,6 @@ actix-web-actors = "2.0.0"
actix-files = "0.2.1"
actix-rt = "1.0.0"
awc = "1.0.1"
env_logger = "0.6"
env_logger = "0.7"
futures = "0.3.1"
bytes = "0.5.3"