mirror of
https://github.com/actix/examples
synced 2024-11-30 17:14:35 +01:00
Merge pull request #291 from JohnTitor/bump-deps3
part3: Update dependencies
This commit is contained in:
commit
029c888dc8
@ -10,6 +10,7 @@ members = [
|
|||||||
"cookie-auth",
|
"cookie-auth",
|
||||||
"cookie-session",
|
"cookie-session",
|
||||||
"diesel",
|
"diesel",
|
||||||
|
"docker_sample",
|
||||||
"error_handling",
|
"error_handling",
|
||||||
"form",
|
"form",
|
||||||
"graphql-demo",
|
"graphql-demo",
|
||||||
@ -48,5 +49,4 @@ members = [
|
|||||||
"websocket-chat",
|
"websocket-chat",
|
||||||
# "websocket-chat-broker",
|
# "websocket-chat-broker",
|
||||||
"websocket-tcp-chat",
|
"websocket-tcp-chat",
|
||||||
"docker_sample",
|
|
||||||
]
|
]
|
||||||
|
@ -13,8 +13,8 @@ argonautica = "0.2.0"
|
|||||||
chrono = { version = "0.4.6", features = ["serde"] }
|
chrono = { version = "0.4.6", features = ["serde"] }
|
||||||
derive_more = "0.99.0"
|
derive_more = "0.99.0"
|
||||||
diesel = { version = "1.4.2", features = ["postgres", "uuidv07", "r2d2", "chrono"] }
|
diesel = { version = "1.4.2", features = ["postgres", "uuidv07", "r2d2", "chrono"] }
|
||||||
dotenv = "0.14.1"
|
dotenv = "0.15"
|
||||||
env_logger = "0.6"
|
env_logger = "0.7"
|
||||||
futures = "0.3.1"
|
futures = "0.3.1"
|
||||||
r2d2 = "0.8"
|
r2d2 = "0.8"
|
||||||
lazy_static = "1.3.0"
|
lazy_static = "1.3.0"
|
||||||
|
@ -8,4 +8,4 @@ edition = "2018"
|
|||||||
actix-web = "2.0.0"
|
actix-web = "2.0.0"
|
||||||
actix-rt = "1.0.0"
|
actix-rt = "1.0.0"
|
||||||
futures = "0.3.1"
|
futures = "0.3.1"
|
||||||
env_logger = "0.6"
|
env_logger = "0.7"
|
||||||
|
@ -7,7 +7,7 @@ edition = "2018"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
futures = "0.3.1"
|
futures = "0.3.1"
|
||||||
env_logger = "0.6"
|
env_logger = "0.7"
|
||||||
|
|
||||||
actix-web = "2.0.0"
|
actix-web = "2.0.0"
|
||||||
actix-files = "0.2.1"
|
actix-files = "0.2.1"
|
||||||
|
@ -7,7 +7,7 @@ edition = "2018"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
actix-web = "2.0.0"
|
actix-web = "2.0.0"
|
||||||
actix-rt = "1.0.0"
|
actix-rt = "1.0.0"
|
||||||
askama = "0.8"
|
askama = "0.9"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
askama = "0.8"
|
askama = "0.9"
|
||||||
|
@ -7,5 +7,5 @@ edition = "2018"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
actix-web = "2.0.0"
|
actix-web = "2.0.0"
|
||||||
actix-rt = "1.0.0"
|
actix-rt = "1.0.0"
|
||||||
handlebars = "2.0.0"
|
handlebars = { version = "3.0.0", features = ["dir_source"] }
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
@ -13,7 +13,7 @@ use std::io;
|
|||||||
|
|
||||||
// Macro documentation can be found in the actix_web_codegen crate
|
// Macro documentation can be found in the actix_web_codegen crate
|
||||||
#[get("/")]
|
#[get("/")]
|
||||||
async fn index(hb: web::Data<Handlebars>) -> HttpResponse {
|
async fn index(hb: web::Data<Handlebars<'_>>) -> HttpResponse {
|
||||||
let data = json!({
|
let data = json!({
|
||||||
"name": "Handlebars"
|
"name": "Handlebars"
|
||||||
});
|
});
|
||||||
@ -24,7 +24,7 @@ async fn index(hb: web::Data<Handlebars>) -> HttpResponse {
|
|||||||
|
|
||||||
#[get("/{user}/{data}")]
|
#[get("/{user}/{data}")]
|
||||||
async fn user(
|
async fn user(
|
||||||
hb: web::Data<Handlebars>,
|
hb: web::Data<Handlebars<'_>>,
|
||||||
info: web::Path<(String, String)>,
|
info: web::Path<(String, String)>,
|
||||||
) -> HttpResponse {
|
) -> HttpResponse {
|
||||||
let data = json!({
|
let data = json!({
|
||||||
|
@ -6,7 +6,7 @@ workspace = ".."
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
env_logger = "0.6"
|
env_logger = "0.7"
|
||||||
tera = "1.0"
|
tera = "1.0"
|
||||||
actix-web = "2.0.0"
|
actix-web = "2.0.0"
|
||||||
actix-rt = "1.0.0"
|
actix-rt = "1.0.0"
|
||||||
|
@ -9,8 +9,8 @@ actix-web = "2.0.0"
|
|||||||
actix-files = "0.2.1"
|
actix-files = "0.2.1"
|
||||||
actix-session = "0.3.0"
|
actix-session = "0.3.0"
|
||||||
actix-rt = "1.0.0"
|
actix-rt = "1.0.0"
|
||||||
dotenv = "0.13.0"
|
dotenv = "0.15"
|
||||||
env_logger = "0.5.10"
|
env_logger = "0.7"
|
||||||
futures = "0.3.1"
|
futures = "0.3.1"
|
||||||
log = "0.4.3"
|
log = "0.4.3"
|
||||||
serde = { version = "1.0.69", features = ["derive"] }
|
serde = { version = "1.0.69", features = ["derive"] }
|
||||||
|
@ -6,6 +6,6 @@ workspace = ".."
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
env_logger = "0.6"
|
env_logger = "0.7"
|
||||||
actix-web = "2.0.0"
|
actix-web = "2.0.0"
|
||||||
actix-rt = "1.0.0"
|
actix-rt = "1.0.0"
|
||||||
|
@ -10,5 +10,5 @@ actix-web = "2.0.0"
|
|||||||
actix-cors = "0.2.0"
|
actix-cors = "0.2.0"
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
env_logger = "0.6"
|
env_logger = "0.7"
|
||||||
futures = "0.3"
|
futures = "0.3"
|
||||||
|
@ -15,10 +15,10 @@ actix-web = "2.0.0"
|
|||||||
actix-web-actors = "2.0.0"
|
actix-web-actors = "2.0.0"
|
||||||
actix-files = "0.2.1"
|
actix-files = "0.2.1"
|
||||||
|
|
||||||
rand = "0.6"
|
rand = "0.7"
|
||||||
bytes = "0.5.3"
|
bytes = "0.5.3"
|
||||||
byteorder = "1.1"
|
byteorder = "1.1"
|
||||||
futures = "0.3.1"
|
futures = "0.3.1"
|
||||||
env_logger = "0.6"
|
env_logger = "0.7"
|
||||||
serde = "1.0"
|
serde = "1.0"
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
|
@ -24,7 +24,7 @@ rand = "0.7"
|
|||||||
bytes = "0.5.3"
|
bytes = "0.5.3"
|
||||||
byteorder = "1.2"
|
byteorder = "1.2"
|
||||||
futures = "0.3"
|
futures = "0.3"
|
||||||
env_logger = "0.6"
|
env_logger = "0.7"
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
tokio = "0.2.4"
|
tokio = "0.2.4"
|
||||||
|
@ -20,6 +20,6 @@ actix-web-actors = "2.0.0"
|
|||||||
actix-files = "0.2.1"
|
actix-files = "0.2.1"
|
||||||
actix-rt = "1.0.0"
|
actix-rt = "1.0.0"
|
||||||
awc = "1.0.1"
|
awc = "1.0.1"
|
||||||
env_logger = "0.6"
|
env_logger = "0.7"
|
||||||
futures = "0.3.1"
|
futures = "0.3.1"
|
||||||
bytes = "0.5.3"
|
bytes = "0.5.3"
|
||||||
|
Loading…
Reference in New Issue
Block a user