diff --git a/async_db/Cargo.toml b/async_db/Cargo.toml index ce72dc7..d87168e 100644 --- a/async_db/Cargo.toml +++ b/async_db/Cargo.toml @@ -6,8 +6,8 @@ edition = "2018" workspace = ".." [dependencies] -actix-rt = "1.0.0-alpha.3" -actix-web = "2.0.0-alpha.3" +actix-rt = "1.0.0" +actix-web = "2.0.0-alpha.6" dotenv = "0.10" env_logger = "0.6" diff --git a/async_ex1/Cargo.toml b/async_ex1/Cargo.toml index edccbab..e5f6bcc 100644 --- a/async_ex1/Cargo.toml +++ b/async_ex1/Cargo.toml @@ -6,8 +6,8 @@ edition = "2018" workspace = ".." [dependencies] -actix-rt = "1.0.0-alpha.3" -actix-web = { version="2.0.0-alpha.3", features=["openssl"] } +actix-rt = "1.0.0" +actix-web = { version="2.0.0-alpha.6", features=["openssl"] } futures = "0.3.1" serde = "1.0.43" diff --git a/async_ex2/Cargo.toml b/async_ex2/Cargo.toml index c97f0a4..edaa5b6 100644 --- a/async_ex2/Cargo.toml +++ b/async_ex2/Cargo.toml @@ -6,10 +6,10 @@ edition = "2018" workspace = ".." [dependencies] -actix-rt = "1.0.0-alpha.3" -actix-web = { version="2.0.0-alpha.3", features=["openssl"] } +actix-rt = "1.0.0" +actix-web = { version="2.0.0-alpha.6", features=["openssl"] } actix-multipart = "0.2.0-alpha.2" -actix-service = "1.0.0-alpha.3" +actix-service = "1.0.0" bytes = "0.5.2" env_logger = "0.6.1" futures = "0.3.1" diff --git a/basics/Cargo.toml b/basics/Cargo.toml index 94eba64..67230d5 100644 --- a/basics/Cargo.toml +++ b/basics/Cargo.toml @@ -6,11 +6,11 @@ workspace = ".." edition = "2018" [dependencies] -actix-rt = "1.0.0-alpha.3" -actix-web = "2.0.0-alpha.3" +actix-rt = "1.0.0" +actix-web = "2.0.0-alpha.6" actix-files = "0.2.0-alpha.3" actix-session = "0.3.0-alpha.3" -actix-utils = "1.0.0-alpha.3" +actix-utils = "1.0.3" futures = "0.3.1" env_logger = "0.5" diff --git a/cookie-auth/Cargo.toml b/cookie-auth/Cargo.toml index 177ac1b..4b9b929 100644 --- a/cookie-auth/Cargo.toml +++ b/cookie-auth/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" workspace = ".." [dependencies] -actix-web = "2.0.0-alpha.3" +actix-web = "2.0.0-alpha.6" actix-identity = "0.2.0-alpha.1" -actix-rt = "1.0.0-alpha.3" +actix-rt = "1.0.0" env_logger = "0.6" diff --git a/cookie-session/Cargo.toml b/cookie-session/Cargo.toml index 6093563..dcdf77d 100644 --- a/cookie-session/Cargo.toml +++ b/cookie-session/Cargo.toml @@ -6,9 +6,9 @@ workspace = ".." edition = "2018" [dependencies] -actix-web = "2.0.0-alpha.3" +actix-web = "2.0.0-alpha.6" actix-session = "0.3.0-alpha.3" -actix-rt = "1.0.0-alpha.3" +actix-rt = "1.0.0" futures = "0.3.1" time = "0.1" diff --git a/diesel/Cargo.toml b/diesel/Cargo.toml index 15acf84..9fce4ec 100644 --- a/diesel/Cargo.toml +++ b/diesel/Cargo.toml @@ -6,8 +6,8 @@ workspace = ".." edition = "2018" [dependencies] -actix-rt = "1.0.0-alpha.3" -actix-web = "2.0.0-alpha.3" +actix-rt = "1.0.0" +actix-web = "2.0.0-alpha.6" bytes = "0.4" env_logger = "0.6" diff --git a/diesel/src/main.rs b/diesel/src/main.rs index baed097..c8844a2 100644 --- a/diesel/src/main.rs +++ b/diesel/src/main.rs @@ -10,11 +10,9 @@ extern crate diesel; extern crate serde_derive; use actix_web::{error, middleware, web, App, Error, HttpResponse, HttpServer}; -use bytes::BytesMut; use diesel::prelude::*; use diesel::r2d2::{self, ConnectionManager}; use dotenv; -use futures::StreamExt; mod models; mod schema; diff --git a/error_handling/Cargo.toml b/error_handling/Cargo.toml index b675696..bb9f51f 100644 --- a/error_handling/Cargo.toml +++ b/error_handling/Cargo.toml @@ -6,8 +6,8 @@ edition = "2018" workspace = ".." [dependencies] -actix-web = "2.0.0-alpha.3" -actix-rt = "1.0.0-alpha.3" +actix-web = "2.0.0-alpha.6" +actix-rt = "1.0.0" derive_more = "0.99.2" futures = "0.3.1" rand = "0.5.4" diff --git a/form/Cargo.toml b/form/Cargo.toml index 74fb020..245ff32 100644 --- a/form/Cargo.toml +++ b/form/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" workspace = ".." [dependencies] -actix-web = "2.0.0-alpha.3" -actix-rt = "1.0.0-alpha.3" +actix-web = "2.0.0-alpha.6" +actix-rt = "1.0.0" serde = "1.0" serde_derive = "1.0" diff --git a/graphql-demo/Cargo.toml b/graphql-demo/Cargo.toml index e9c10b8..b80245b 100644 --- a/graphql-demo/Cargo.toml +++ b/graphql-demo/Cargo.toml @@ -8,8 +8,8 @@ workspace = ".." # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -actix-web = "2.0.0-alpha.3" -actix-rt = "1.0.0-alpha.3" +actix-web = "2.0.0-alpha.6" +actix-rt = "1.0.0" futures = "0.3.1" juniper = "0.13" diff --git a/hello-world/Cargo.toml b/hello-world/Cargo.toml index a678c6e..1d0e603 100644 --- a/hello-world/Cargo.toml +++ b/hello-world/Cargo.toml @@ -6,6 +6,6 @@ workspace = ".." edition = "2018" [dependencies] -actix-web = "2.0.0-alpha.3" -actix-rt = "1.0.0-alpha.3" +actix-web = "2.0.0-alpha.6" +actix-rt = "1.0.0" env_logger = "0.6" diff --git a/http-proxy/Cargo.toml b/http-proxy/Cargo.toml index d4f8f3a..cc10bcf 100644 --- a/http-proxy/Cargo.toml +++ b/http-proxy/Cargo.toml @@ -6,8 +6,8 @@ workspace = ".." edition = "2018" [dependencies] -actix-rt = "1.0.0-alpha.3" -actix-web = { version = "2.0.0-alpha.3", features=["openssl"] } +actix-rt = "1.0.0" +actix-web = { version = "2.0.0-alpha.6", features=["openssl"] } clap = "2.32.0" futures = "0.3.1" failure = "0.1.3" diff --git a/json/Cargo.toml b/json/Cargo.toml index d039955..808ce12 100644 --- a/json/Cargo.toml +++ b/json/Cargo.toml @@ -6,9 +6,9 @@ workspace = ".." edition = "2018" [dependencies] -actix-web = "2.0.0-alpha.4" -actix-rt = "1.0.0-alpha.3" -actix-service = "1.0.0-alpha.4" +actix-web = "2.0.0-alpha.6" +actix-rt = "1.0.0" +actix-service = "1.0.0" bytes = "0.5.2" futures = "0.3.1" diff --git a/json_error/Cargo.toml b/json_error/Cargo.toml index 88c59b7..5fdec13 100644 --- a/json_error/Cargo.toml +++ b/json_error/Cargo.toml @@ -5,8 +5,8 @@ authors = ["Kai Yao "] edition = "2018" [dependencies] -actix-web = "2.0.0-alpha.3" -actix-rt = "1.0.0-alpha.3" +actix-web = "2.0.0-alpha.6" +actix-rt = "1.0.0" failure = "0.1" futures = "0.3" serde = { version = "1.0", features = ["derive"] } diff --git a/jsonrpc/Cargo.toml b/jsonrpc/Cargo.toml index 2401a37..546a05b 100644 --- a/jsonrpc/Cargo.toml +++ b/jsonrpc/Cargo.toml @@ -6,8 +6,8 @@ edition = "2018" workspace = ".." [dependencies] -actix-web = "2.0.0-alpha.3" -actix-rt = "1.0.0-alpha.3" +actix-web = "2.0.0-alpha.6" +actix-rt = "1.0.0" bytes = "0.5" env_logger = "0.6" futures = "0.3.1" diff --git a/juniper/Cargo.toml b/juniper/Cargo.toml index c9029ee..0e57c50 100644 --- a/juniper/Cargo.toml +++ b/juniper/Cargo.toml @@ -6,8 +6,8 @@ workspace = ".." edition = "2018" [dependencies] -actix-web = "2.0.0-alpha.3" -actix-rt = "1.0.0-alpha.3" +actix-web = "2.0.0-alpha.6" +actix-rt = "1.0.0" env_logger = "0.7.1" serde = "1.0.103" serde_json = "1.0.44" diff --git a/middleware/Cargo.toml b/middleware/Cargo.toml index 7452455..54715c7 100644 --- a/middleware/Cargo.toml +++ b/middleware/Cargo.toml @@ -6,9 +6,9 @@ edition = "2018" workspace = ".." [dependencies] -actix-service = "1.0.0-alpha.3" -actix-rt = "1.0.0-alpha.3" -actix-web = "2.0.0-alpha.3" +actix-service = "1.0.0" +actix-rt = "1.0.0" +actix-web = "2.0.0-alpha.6" futures = "0.3.1" env_logger = "0.6" bytes = "0.5" diff --git a/multipart/Cargo.toml b/multipart/Cargo.toml index afe802f..f5ad551 100644 --- a/multipart/Cargo.toml +++ b/multipart/Cargo.toml @@ -12,5 +12,5 @@ readme = "README.md" [dependencies] futures = "0.3.1" actix-multipart = "0.2.0-alpha.3" -actix-web = "2.0.0-alpha.3" -actix-rt = "1.0.0-alpha.3" +actix-web = "2.0.0-alpha.6" +actix-rt = "1.0.0" diff --git a/openssl/Cargo.toml b/openssl/Cargo.toml index 7f65b7a..dacef56 100644 --- a/openssl/Cargo.toml +++ b/openssl/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" workspace = ".." [dependencies] -actix-rt = "1.0.0-alpha.3" -actix-web = { version="2.0.0-alpha.3", features=["openssl"] } +actix-rt = "1.0.0" +actix-web = { version="2.0.0-alpha.6", features=["openssl"] } env_logger = "0.6" openssl = "0.10" diff --git a/r2d2/Cargo.toml b/r2d2/Cargo.toml index 818db61..14797cf 100644 --- a/r2d2/Cargo.toml +++ b/r2d2/Cargo.toml @@ -6,8 +6,8 @@ edition = "2018" workspace = ".." [dependencies] -actix-rt = "1.0.0-alpha.3" -actix-web = "2.0.0-alpha.3" +actix-rt = "1.0.0" +actix-web = "2.0.0-alpha.6" futures = "0.3.1" env_logger = "0.6" diff --git a/rustls/Cargo.toml b/rustls/Cargo.toml index 482efa7..1b66159 100644 --- a/rustls/Cargo.toml +++ b/rustls/Cargo.toml @@ -12,6 +12,6 @@ path = "src/main.rs" [dependencies] env_logger = "0.5" rustls = "0.16" -actix-web = { version = "2.0.0-alpha.3", features=["rustls"] } +actix-web = { version = "2.0.0-alpha.6", features=["rustls"] } actix-files = "0.2.0-alpha.3" -actix-rt = "1.0.0-alpha.3" +actix-rt = "1.0.0" diff --git a/server-sent-events/Cargo.toml b/server-sent-events/Cargo.toml index 60b8c62..91d1565 100644 --- a/server-sent-events/Cargo.toml +++ b/server-sent-events/Cargo.toml @@ -6,8 +6,8 @@ workspace = ".." edition = "2018" [dependencies] -actix-rt = "1.0.0-alpha.3" -actix-web = "2.0.0-alpha.3" +actix-rt = "1.0.0" +actix-web = "2.0.0-alpha.6" env_logger = "0.6" futures = "0.3.1" tokio = "0.2" \ No newline at end of file diff --git a/simple-auth-server/Cargo.toml b/simple-auth-server/Cargo.toml index 40cb167..d85f45a 100644 --- a/simple-auth-server/Cargo.toml +++ b/simple-auth-server/Cargo.toml @@ -7,8 +7,8 @@ workspace = ".." [dependencies] actix-identity = "0.2.0-alpha.1" -actix-web = "2.0.0-alpha.3" -actix-rt = "1.0.0-alpha.3" +actix-web = "2.0.0-alpha.6" +actix-rt = "1.0.0" argonautica = "0.2.0" chrono = { version = "0.4.6", features = ["serde"] } derive_more = "0.99.0" diff --git a/state/Cargo.toml b/state/Cargo.toml index 98cf490..009dd79 100644 --- a/state/Cargo.toml +++ b/state/Cargo.toml @@ -6,7 +6,7 @@ workspace = ".." edition = "2018" [dependencies] -actix-web = "2.0.0-alpha.3" -actix-rt = "1.0.0-alpha.3" +actix-web = "2.0.0-alpha.6" +actix-rt = "1.0.0" futures = "0.3.1" env_logger = "0.6" diff --git a/static_index/Cargo.toml b/static_index/Cargo.toml index 5c0373f..2d35821 100644 --- a/static_index/Cargo.toml +++ b/static_index/Cargo.toml @@ -9,6 +9,6 @@ edition = "2018" futures = "0.3.1" env_logger = "0.6" -actix-web = "2.0.0-alpha.3" +actix-web = "2.0.0-alpha.6" actix-files = "0.2.0-alpha.3" -actix-rt = "1.0.0-alpha.3" +actix-rt = "1.0.0" diff --git a/template_askama/Cargo.toml b/template_askama/Cargo.toml index 65b4be6..1dd72d9 100644 --- a/template_askama/Cargo.toml +++ b/template_askama/Cargo.toml @@ -6,8 +6,8 @@ workspace = ".." edition = "2018" [dependencies] -actix-web = "2.0.0-alpha.3" -actix-rt = "1.0.0-alpha.3" +actix-web = "2.0.0-alpha.6" +actix-rt = "1.0.0" env_logger = "0.6" askama = "0.8" diff --git a/template_handlebars/Cargo.toml b/template_handlebars/Cargo.toml index 572a26e..7e94f50 100644 --- a/template_handlebars/Cargo.toml +++ b/template_handlebars/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Alexandru Tiniuc "] edition = "2018" [dependencies] -actix-web = "2.0.0-alpha.3" -actix-rt = "1.0.0-alpha.3" +actix-web = "2.0.0-alpha.6" +actix-rt = "1.0.0" handlebars = "2.0.0-beta.2" serde_json = "1.0" \ No newline at end of file diff --git a/template_tera/Cargo.toml b/template_tera/Cargo.toml index 97198d4..71ad8b9 100644 --- a/template_tera/Cargo.toml +++ b/template_tera/Cargo.toml @@ -8,5 +8,5 @@ edition = "2018" [dependencies] env_logger = "0.6" tera = "0.11" -actix-web = "2.0.0-alpha.3" -actix-rt = "1.0.0-alpha.3" +actix-web = "2.0.0-alpha.6" +actix-rt = "1.0.0" diff --git a/todo/Cargo.toml b/todo/Cargo.toml index da29bd2..ae1f359 100644 --- a/todo/Cargo.toml +++ b/todo/Cargo.toml @@ -6,10 +6,10 @@ workspace = ".." edition = "2018" [dependencies] -actix-web = "2.0.0-alpha.3" +actix-web = "2.0.0-alpha.6" actix-files = "0.2.0-alpha.3" actix-session = "0.3.0-alpha.3" -actix-rt = "1.0.0-alpha.3" +actix-rt = "1.0.0" dotenv = "0.13.0" env_logger = "0.5.10" futures = "0.3.1" diff --git a/unix-socket/Cargo.toml b/unix-socket/Cargo.toml index 065a955..f3d3ec1 100644 --- a/unix-socket/Cargo.toml +++ b/unix-socket/Cargo.toml @@ -7,5 +7,5 @@ edition = "2018" [dependencies] env_logger = "0.6" -actix-web = "2.0.0-alpha.3" -actix-rt = "1.0.0-alpha.3" +actix-web = "2.0.0-alpha.6" +actix-rt = "1.0.0"