mirror of
https://github.com/actix/examples
synced 2024-11-23 14:31:07 +01:00
part3: Update dependencies
This commit is contained in:
parent
32d821d321
commit
b84e1d9fb4
@ -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",
|
||||
]
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
@ -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!({
|
||||
|
@ -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"
|
||||
|
@ -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"] }
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user