From 4e051e8cd5afa0ca9d5a0cc286075b83a5b03c92 Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Sun, 5 Apr 2020 13:50:44 +0900 Subject: [PATCH] part2: Update dependencies --- graphql-demo/Cargo.toml | 16 +++++++--------- hello-world/Cargo.toml | 2 +- http-proxy/Cargo.toml | 2 +- json/Cargo.toml | 4 ++-- jsonrpc/Cargo.toml | 2 +- middleware/Cargo.toml | 8 ++++---- multipart/Cargo.toml | 4 ++-- openssl/Cargo.toml | 4 ++-- redis-session/Cargo.toml | 2 +- redis/Cargo.toml | 2 +- run-in-thread/Cargo.toml | 2 +- rustls/Cargo.toml | 4 ++-- server-sent-events/Cargo.toml | 4 ++-- 13 files changed, 27 insertions(+), 29 deletions(-) diff --git a/graphql-demo/Cargo.toml b/graphql-demo/Cargo.toml index 2771e01..ca123bc 100644 --- a/graphql-demo/Cargo.toml +++ b/graphql-demo/Cargo.toml @@ -11,17 +11,15 @@ actix-web = "2.0.0" actix-rt = "1.0.0" futures = "0.3.1" -juniper = "0.13" +juniper = "0.14" -mysql = "16.1.0" +mysql = "17" r2d2 = "0.8" -r2d2_mysql = "16.0" +r2d2_mysql = "17.0" +dotenv = "0.15" +env_logger = "0.7" log = "0.4" -env_logger = "0.6.2" -dotenv = "0.9" -serde = "1.0" +serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -serde_derive = "1.0" - -uuid = {"version" = "0.7", "features" = ["serde", "v4"]} \ No newline at end of file +uuid = { version = "0.8", features = ["serde", "v4"] } diff --git a/hello-world/Cargo.toml b/hello-world/Cargo.toml index 5cc1318..bdb31ba 100644 --- a/hello-world/Cargo.toml +++ b/hello-world/Cargo.toml @@ -7,4 +7,4 @@ edition = "2018" [dependencies] actix-web = "2.0.0" actix-rt = "1.0.0" -env_logger = "0.6" +env_logger = "0.7" diff --git a/http-proxy/Cargo.toml b/http-proxy/Cargo.toml index f9686c3..f2e8cdc 100644 --- a/http-proxy/Cargo.toml +++ b/http-proxy/Cargo.toml @@ -10,4 +10,4 @@ actix-web = { version = "2.0.0", features=["openssl"] } clap = "2.32.0" futures = "0.3.1" failure = "0.1.3" -url = "1.7.1" +url = "2.0" diff --git a/json/Cargo.toml b/json/Cargo.toml index d60ba58..4028ec9 100644 --- a/json/Cargo.toml +++ b/json/Cargo.toml @@ -12,8 +12,8 @@ actix-service = "1.0.0" bytes = "0.5.2" futures = "0.3.1" -env_logger = "*" +env_logger = "0.7" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -json = "*" +json = "0.12" diff --git a/jsonrpc/Cargo.toml b/jsonrpc/Cargo.toml index db2d8c5..e95b7d9 100644 --- a/jsonrpc/Cargo.toml +++ b/jsonrpc/Cargo.toml @@ -9,7 +9,7 @@ workspace = ".." actix-web = "2.0.0" actix-rt = "1.0.0" bytes = "0.5" -env_logger = "0.6" +env_logger = "0.7" futures = "0.3.1" log = "0.4" serde = { version = "1.0", features = ["derive"] } diff --git a/middleware/Cargo.toml b/middleware/Cargo.toml index 2a5e622..34bc2c4 100644 --- a/middleware/Cargo.toml +++ b/middleware/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "middleware-example" -version = "1.0.0" +version = "2.0.0" authors = ["Gorm Casper ", "Sven-Hendrik Haase "] edition = "2018" @@ -8,7 +8,7 @@ edition = "2018" actix-service = "1.0.0" actix-rt = "1.0.0" actix-web = "2.0.0" -futures = "0.3.1" -env_logger = "0.6" bytes = "0.5" -pin-project = "0.4.6" \ No newline at end of file +env_logger = "0.7" +futures = "0.3.1" +pin-project = "0.4.6" diff --git a/multipart/Cargo.toml b/multipart/Cargo.toml index 1fdd887..f574bc5 100644 --- a/multipart/Cargo.toml +++ b/multipart/Cargo.toml @@ -10,7 +10,7 @@ repository = "https://github.com/actix/examples" readme = "README.md" [dependencies] -futures = "0.3.1" actix-multipart = "0.2.0" -actix-web = "2.0.0" actix-rt = "1.0.0" +actix-web = "2.0.0" +futures = "0.3.1" diff --git a/openssl/Cargo.toml b/openssl/Cargo.toml index 08063da..72ed37a 100644 --- a/openssl/Cargo.toml +++ b/openssl/Cargo.toml @@ -7,6 +7,6 @@ workspace = ".." [dependencies] actix-rt = "1.0.0" -actix-web = { version="2.0.0", features=["openssl"] } -env_logger = "0.6" +actix-web = { version = "2.0.0", features = ["openssl"] } +env_logger = "0.7" openssl = "0.10" diff --git a/redis-session/Cargo.toml b/redis-session/Cargo.toml index 620c5fc..6b25f28 100644 --- a/redis-session/Cargo.toml +++ b/redis-session/Cargo.toml @@ -9,7 +9,7 @@ actix-rt = "1.0.0" actix-web = "2.0.0" actix-session = "0.3.0" actix-redis = { version = "0.8.0", features = ["web"] } -env_logger = "0.6" +env_logger = "0.7" serde = { version = "^1.0", features = ["derive"] } actix-service = "1.0.0" actix-http = "1.0.0" diff --git a/redis/Cargo.toml b/redis/Cargo.toml index ec3d8ca..db64a47 100644 --- a/redis/Cargo.toml +++ b/redis/Cargo.toml @@ -12,4 +12,4 @@ actix-redis = "0.8.0" futures = "0.3.1" redis-async = "0.6.1" serde = { version = "1.0.71", features = ["derive"] } -env_logger = "0.6" +env_logger = "0.7" diff --git a/run-in-thread/Cargo.toml b/run-in-thread/Cargo.toml index e664d2c..cb00f1d 100644 --- a/run-in-thread/Cargo.toml +++ b/run-in-thread/Cargo.toml @@ -8,4 +8,4 @@ description = "Run actix-web in separate thread" [dependencies] actix-web = "2.0.0" actix-rt = "1.0.0" -env_logger = "0.6" \ No newline at end of file +env_logger = "0.7" diff --git a/rustls/Cargo.toml b/rustls/Cargo.toml index fc8269a..fc7c1b8 100644 --- a/rustls/Cargo.toml +++ b/rustls/Cargo.toml @@ -10,8 +10,8 @@ name = "rustls-server" path = "src/main.rs" [dependencies] -env_logger = "0.5" +env_logger = "0.7" rustls = "0.16" -actix-web = { version = "2.0.0", features=["rustls"] } +actix-web = { version = "2.0.0", features = ["rustls"] } actix-files = "0.2.1" actix-rt = "1.0.0" diff --git a/server-sent-events/Cargo.toml b/server-sent-events/Cargo.toml index 48c9f49..cf4d666 100644 --- a/server-sent-events/Cargo.toml +++ b/server-sent-events/Cargo.toml @@ -8,6 +8,6 @@ edition = "2018" [dependencies] actix-rt = "1.0.0" actix-web = "2.0.0" -env_logger = "0.6" +env_logger = "0.7" futures = "0.3.1" -tokio = "0.2" \ No newline at end of file +tokio = "0.2"