Skip to content

Commit

Permalink
bump ver
Browse files Browse the repository at this point in the history
  • Loading branch information
fafhrd91 committed Dec 20, 2019
1 parent 74fa406 commit 8b8a9a9
Show file tree
Hide file tree
Showing 13 changed files with 31 additions and 27 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changes

## [2.0.0] - 2019-12-xx
## [2.0.0-rc] - 2019-12-20

### Changed

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "actix-web"
version = "2.0.0-alpha.6"
version = "2.0.0-rc"
authors = ["Nikolay Kim <[email protected]>"]
description = "Actix web is a simple, pragmatic and extremely fast web framework for Rust."
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion actix-cors/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ name = "actix_cors"
path = "src/lib.rs"

[dependencies]
actix-web = "2.0.0-alpha.5"
actix-web = "2.0.0-rc"
actix-service = "1.0.0"
derive_more = "0.99.2"
futures = "0.3.1"
Expand Down
6 changes: 3 additions & 3 deletions actix-files/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ name = "actix_files"
path = "src/lib.rs"

[dependencies]
actix-web = { version = "2.0.0-alpha.6", default-features = false }
actix-http = "1.0.0"
actix-web = { version = "2.0.0-rc", default-features = false }
actix-http = "1.0.1"
actix-service = "1.0.0"
bitflags = "1"
bytes = "0.5.3"
Expand All @@ -33,4 +33,4 @@ v_htmlescape = "0.4"

[dev-dependencies]
actix-rt = "1.0.0"
actix-web = { version = "2.0.0-alpha.6", features=["openssl"] }
actix-web = { version = "2.0.0-rc", features=["openssl"] }
4 changes: 2 additions & 2 deletions actix-identity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ name = "actix_identity"
path = "src/lib.rs"

[dependencies]
actix-web = { version = "2.0.0-alpha.5", default-features = false, features = ["secure-cookies"] }
actix-web = { version = "2.0.0-rc", default-features = false, features = ["secure-cookies"] }
actix-service = "1.0.0"
futures = "0.3.1"
serde = "1.0"
Expand All @@ -26,5 +26,5 @@ time = "0.1.42"

[dev-dependencies]
actix-rt = "1.0.0"
actix-http = "1.0.0"
actix-http = "1.0.1"
bytes = "0.5.3"
2 changes: 1 addition & 1 deletion actix-multipart/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ name = "actix_multipart"
path = "src/lib.rs"

[dependencies]
actix-web = { version = "2.0.0-alpha.5", default-features = false }
actix-web = { version = "2.0.0-rc", default-features = false }
actix-service = "1.0.0"
actix-utils = "1.0.3"
bytes = "0.5.3"
Expand Down
2 changes: 1 addition & 1 deletion actix-session/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ default = ["cookie-session"]
cookie-session = ["actix-web/secure-cookies"]

[dependencies]
actix-web = "2.0.0-alpha.5"
actix-web = "2.0.0-rc"
actix-service = "1.0.0"
bytes = "0.5.3"
derive_more = "0.99.2"
Expand Down
8 changes: 4 additions & 4 deletions actix-web-actors/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "actix-web-actors"
version = "2.0.0-alpha.1"
version = "2.0.0"
authors = ["Nikolay Kim <[email protected]>"]
description = "Actix actors support for actix web framework."
readme = "README.md"
Expand All @@ -16,9 +16,9 @@ name = "actix_web_actors"
path = "src/lib.rs"

[dependencies]
actix = "0.9.0-alpha.1"
actix-web = "2.0.0-alpha.5"
actix-http = "1.0.0"
actix = "0.9.0"
actix-web = "2.0.0-rc"
actix-http = "1.0.1"
actix-codec = "0.2.0"
bytes = "0.5.2"
futures = "0.3.1"
Expand Down
2 changes: 1 addition & 1 deletion actix-web-codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ proc-macro2 = "^1"

[dev-dependencies]
actix-rt = { version = "1.0.0" }
actix-web = { version = "2.0.0-alpha.4" }
actix-web = { version = "2.0.0-rc" }
futures = { version = "0.3.1" }
4 changes: 2 additions & 2 deletions awc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ rust-tls = { version = "0.16.0", package="rustls", optional = true, features = [

[dev-dependencies]
actix-connect = { version = "1.0.1", features=["openssl"] }
actix-web = { version = "2.0.0-alpha.5", features=["openssl"] }
actix-http = { version = "1.0.0", features=["openssl"] }
actix-web = { version = "2.0.0-rc", features=["openssl"] }
actix-http = { version = "1.0.1", features=["openssl"] }
actix-http-test = { version = "1.0.0", features=["openssl"] }
actix-utils = "1.0.3"
actix-server = "1.0.0"
Expand Down
15 changes: 9 additions & 6 deletions awc/tests/test_rustls_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ use std::sync::Arc;

use actix_http::HttpService;
use actix_http_test::test_server;
use actix_service::{map_config, pipeline_factory, ServiceFactory, IntoServiceFactory};
use actix_service::{map_config, pipeline_factory, IntoServiceFactory, ServiceFactory};
use actix_web::http::Version;
use actix_web::{web, App, HttpResponse, dev::AppConfig};
use actix_web::{dev::AppConfig, web, App, HttpResponse};
use futures::future::ok;
use open_ssl::ssl::{SslAcceptor, SslFiletype, SslMethod, SslVerifyMode};
use rust_tls::ClientConfig;
Expand Down Expand Up @@ -62,10 +62,13 @@ async fn _test_connection_reuse_h2() {
})
.and_then(
HttpService::build()
.h2(map_config(App::new()
.service(web::resource("/").route(web::to(|| HttpResponse::Ok())))
.into_factory(),
|_| AppConfig::default(),
.h2(map_config(
App::new()
.service(
web::resource("/").route(web::to(|| HttpResponse::Ok())),
)
.into_factory(),
|_| AppConfig::default(),
))
.openssl(ssl_acceptor())
.map_err(|_| ()),
Expand Down
5 changes: 3 additions & 2 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@ where
/// an application instance. Http server constructs an application
/// instance for each thread, thus application data must be constructed
/// multiple times. If you want to share data between different
/// threads, a shared object should be used, e.g. `Arc`. Application
/// data does not need to be `Send` or `Sync`.
/// threads, a shared object should be used, e.g. `Arc`. Internally `Data` type
/// uses `Arc` so data could be created outside of app factory and clones could
/// be stored via `App::app_data()` method.
///
/// ```rust
/// use std::cell::Cell;
Expand Down
4 changes: 2 additions & 2 deletions test-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ time = "0.1"
open-ssl = { version="0.10", package="openssl", optional = true }

[dev-dependencies]
actix-web = "2.0.0-alpha.5"
actix-http = "1.0.0"
actix-web = "2.0.0-rc"
actix-http = "1.0.1"

0 comments on commit 8b8a9a9

Please sign in to comment.