From 86e0f3e02c4d5f724dbfeec2ee3fe50ca3ac2f10 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Thu, 4 Apr 2019 11:37:14 -0700 Subject: [PATCH] upgrade to alpha3 --- actix_redis/Cargo.toml | 2 +- actix_todo/Cargo.toml | 6 +++--- async_db/Cargo.toml | 2 +- async_ex1/Cargo.toml | 2 +- basics/Cargo.toml | 6 +++--- cookie-auth/Cargo.toml | 2 +- cookie-session/Cargo.toml | 4 ++-- diesel/Cargo.toml | 2 +- error_handling/Cargo.toml | 2 +- form/Cargo.toml | 2 +- hello-world/Cargo.toml | 2 +- http-full-proxy/Cargo.toml | 2 +- http-full-proxy/src/main.rs | 2 +- http-proxy/Cargo.toml | 2 +- http-proxy/src/main.rs | 2 +- json/Cargo.toml | 2 +- juniper/Cargo.toml | 2 +- middleware/Cargo.toml | 2 +- multipart/Cargo.toml | 2 +- multipart/src/main.rs | 1 + protobuf/Cargo.toml | 2 +- r2d2/Cargo.toml | 2 +- redis-session/Cargo.toml | 4 ++-- rustls/Cargo.toml | 4 ++-- simple-auth-server/Cargo.toml | 4 ++-- state/Cargo.toml | 2 +- static_index/Cargo.toml | 4 ++-- template_askama/Cargo.toml | 2 +- template_askama/build.rs | 5 ----- template_tera/Cargo.toml | 2 +- template_yarte/Cargo.toml | 6 +++--- tls/Cargo.toml | 2 +- web-cors/backend/Cargo.toml | 2 +- websocket-chat/Cargo.toml | 6 +++--- websocket-tcp-chat/Cargo.toml | 6 +++--- websocket/Cargo.toml | 6 +++--- 36 files changed, 52 insertions(+), 56 deletions(-) delete mode 100644 template_askama/build.rs diff --git a/actix_redis/Cargo.toml b/actix_redis/Cargo.toml index 7c762a61..38a2daa8 100644 --- a/actix_redis/Cargo.toml +++ b/actix_redis/Cargo.toml @@ -7,7 +7,7 @@ workspace = ".." [dependencies] actix = "0.8.0-alpha.2" -actix-web = "1.0.0-alpha.2" +actix-web = "1.0.0-alpha.3" actix-redis = { git="https://github.com/actix/actix-redis.git" } futures = "0.1.23" redis-async = "0.4.0" diff --git a/actix_todo/Cargo.toml b/actix_todo/Cargo.toml index 52551f0f..e1e09251 100644 --- a/actix_todo/Cargo.toml +++ b/actix_todo/Cargo.toml @@ -6,9 +6,9 @@ workspace = ".." edition = "2018" [dependencies] -actix-web = "1.0.0-alpha.2" -actix-files = "0.1.0-alpha.1" -actix-session = "0.1.0-alpha.2" +actix-web = "1.0.0-alpha.3" +actix-files = "0.1.0-alpha.2" +actix-session = "0.1.0-alpha.3" dotenv = "0.13.0" env_logger = "0.5.10" futures = "0.1.22" diff --git a/async_db/Cargo.toml b/async_db/Cargo.toml index 3ccfbc26..70e29622 100644 --- a/async_db/Cargo.toml +++ b/async_db/Cargo.toml @@ -7,7 +7,7 @@ workspace = ".." [dependencies] actix-rt = "0.2" -actix-web = "1.0.0-alpha.2" +actix-web = "1.0.0-alpha.3" dotenv = "0.10" env_logger = "0.5" diff --git a/async_ex1/Cargo.toml b/async_ex1/Cargo.toml index 62154f4b..69bcdc0d 100644 --- a/async_ex1/Cargo.toml +++ b/async_ex1/Cargo.toml @@ -7,7 +7,7 @@ workspace = ".." [dependencies] actix-rt = "0.2" -actix-web = { version="1.0.0-alpha.2", features=["ssl"] } +actix-web = { version="1.0.0-alpha.3", features=["ssl"] } futures = "0.1" serde = "1.0.43" diff --git a/basics/Cargo.toml b/basics/Cargo.toml index 4c2dc1e6..93ad3606 100644 --- a/basics/Cargo.toml +++ b/basics/Cargo.toml @@ -7,9 +7,9 @@ edition = "2018" [dependencies] actix-rt = "0.2" -actix-web = "1.0.0-alpha.2" -actix-files = "0.1.0-alpha.1" -actix-session = "0.1.0-alpha.2" +actix-web = "1.0.0-alpha.3" +actix-files = "0.1.0-alpha.2" +actix-session = "0.1.0-alpha.3" futures = "0.1.25" env_logger = "0.5" diff --git a/cookie-auth/Cargo.toml b/cookie-auth/Cargo.toml index f7cded59..ef75a84d 100644 --- a/cookie-auth/Cargo.toml +++ b/cookie-auth/Cargo.toml @@ -6,5 +6,5 @@ edition = "2018" workspace = ".." [dependencies] -actix-web = "1.0.0-alpha.2" +actix-web = "1.0.0-alpha.3" env_logger = "0.6" diff --git a/cookie-session/Cargo.toml b/cookie-session/Cargo.toml index 1655322f..466e2c67 100644 --- a/cookie-session/Cargo.toml +++ b/cookie-session/Cargo.toml @@ -6,8 +6,8 @@ workspace = ".." edition = "2018" [dependencies] -actix-web = "1.0.0-alpha.2" -actix-session = "0.1.0-alpha.2" +actix-web = "1.0.0-alpha.3" +actix-session = "0.1.0-alpha.3" futures = "0.1" time = "0.1" diff --git a/diesel/Cargo.toml b/diesel/Cargo.toml index 5da09f40..20643838 100644 --- a/diesel/Cargo.toml +++ b/diesel/Cargo.toml @@ -6,7 +6,7 @@ workspace = ".." edition = "2018" [dependencies] -actix-web = "1.0.0-alpha.2" +actix-web = "1.0.0-alpha.3" bytes = "0.4" env_logger = "0.6" diff --git a/error_handling/Cargo.toml b/error_handling/Cargo.toml index 46f2f3e9..71e013a0 100644 --- a/error_handling/Cargo.toml +++ b/error_handling/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" workspace = ".." [dependencies] -actix-web = "1.0.0-alpha.2" +actix-web = "1.0.0-alpha.3" derive_more = "0.14.0" futures = "0.1.23" diff --git a/form/Cargo.toml b/form/Cargo.toml index 7e9eef60..f8386ad0 100644 --- a/form/Cargo.toml +++ b/form/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" workspace = ".." [dependencies] -actix-web = "1.0.0-alpha.2" +actix-web = "1.0.0-alpha.3" serde = "1.0" serde_derive = "1.0" diff --git a/hello-world/Cargo.toml b/hello-world/Cargo.toml index b3f23f99..879693a1 100644 --- a/hello-world/Cargo.toml +++ b/hello-world/Cargo.toml @@ -6,5 +6,5 @@ workspace = ".." edition = "2018" [dependencies] -actix-web = "1.0.0-alpha.2" +actix-web = "1.0.0-alpha.3" env_logger = "0.6" diff --git a/http-full-proxy/Cargo.toml b/http-full-proxy/Cargo.toml index dfa5c50d..0030fad9 100644 --- a/http-full-proxy/Cargo.toml +++ b/http-full-proxy/Cargo.toml @@ -7,7 +7,7 @@ edition = "2018" [dependencies] actix-rt = "0.2" -actix-web = "1.0.0-alpha.2" +actix-web = "1.0.0-alpha.3" clap = "2.32.0" futures = "0.1.25" diff --git a/http-full-proxy/src/main.rs b/http-full-proxy/src/main.rs index f350769e..d6d91e50 100644 --- a/http-full-proxy/src/main.rs +++ b/http-full-proxy/src/main.rs @@ -16,7 +16,7 @@ fn forward( new_url.set_query(req.uri().query()); let forwarded_req = client - .request_from(new_url.as_str(), &req) + .request_from(new_url.as_str(), req.head()) .no_default_headers(); // if let Some(addr) = req.peer_addr() { diff --git a/http-proxy/Cargo.toml b/http-proxy/Cargo.toml index 4bdeb424..cbca064c 100644 --- a/http-proxy/Cargo.toml +++ b/http-proxy/Cargo.toml @@ -15,7 +15,7 @@ path = "src/server.rs" [dependencies] actix-rt = "0.2" -actix-web = "1.0.0-alpha.2" +actix-web = "1.0.0-alpha.3" env_logger = "0.5" futures = "0.1" diff --git a/http-proxy/src/main.rs b/http-proxy/src/main.rs index 080c848d..e500bbee 100644 --- a/http-proxy/src/main.rs +++ b/http-proxy/src/main.rs @@ -8,7 +8,7 @@ fn index(client: web::Data) -> impl Future impl Future