Skip to content

Commit

Permalink
disable rustls
Browse files Browse the repository at this point in the history
  • Loading branch information
fafhrd91 committed Nov 27, 2019
1 parent f2b3dc5 commit 56b9f11
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ fail = ["actix-http/fail"]
openssl = ["open-ssl", "actix-server/openssl", "awc/openssl"]

# rustls
rustls = ["rust-tls", "actix-server/rustls", "awc/rustls"]
# rustls = ["rust-tls", "actix-server/rustls", "awc/rustls"]

[dependencies]
actix-codec = "0.2.0-alpha.1"
Expand Down Expand Up @@ -101,7 +101,7 @@ url = "2.1"

# ssl support
open-ssl = { version="0.10", package="openssl", optional = true }
rust-tls = { version = "0.16", package="rustls", optional = true }
# rust-tls = { version = "0.16", package="rustls", optional = true }

[dev-dependencies]
# actix = "0.8.3"
Expand Down
9 changes: 5 additions & 4 deletions actix-http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ default = []
openssl = ["open-ssl", "actix-connect/openssl", "tokio-openssl"]

# rustls support
rustls = ["rust-tls", "webpki-roots", "actix-connect/rustls"]
# rustls = ["rust-tls", "webpki-roots", "actix-connect/rustls"]

# brotli encoding, requires c compiler
brotli = ["brotli2"]
Expand Down Expand Up @@ -99,11 +99,12 @@ failure = { version = "0.1.5", optional = true }
open-ssl = { version="0.10", package="openssl", optional = true }
tokio-openssl = { version = "0.4.0-alpha.6", optional = true }

rust-tls = { version = "0.16.0", package="rustls", optional = true }
webpki-roots = { version = "0.18", optional = true }
# rust-tls = { version = "0.16.0", package="rustls", optional = true }
# webpki-roots = { version = "0.18", optional = true }

[dev-dependencies]
actix-server = { version = "0.8.0-alpha.1", features=["openssl", "rustls"] }
#actix-server = { version = "0.8.0-alpha.1", features=["openssl", "rustls"] }
actix-server = { version = "0.8.0-alpha.1", features=["openssl"] }
actix-connect = { version = "1.0.0-alpha.1", features=["openssl"] }
actix-http-test = { version = "0.3.0-alpha.1", features=["openssl"] }
env_logger = "0.6"
Expand Down
4 changes: 2 additions & 2 deletions awc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ default = ["brotli", "flate2-zlib"]
openssl = ["open-ssl", "actix-http/openssl"]

# rustls
rustls = ["rust-tls", "actix-http/rustls"]
# rustls = ["rust-tls", "actix-http/rustls"]

# brotli encoding, requires c compiler
brotli = ["actix-http/brotli"]
Expand Down Expand Up @@ -59,7 +59,7 @@ serde = "1.0"
serde_json = "1.0"
serde_urlencoded = "0.6.1"
open-ssl = { version="0.10", package="openssl", optional = true }
rust-tls = { version = "0.16.0", package="rustls", optional = true, features = ["dangerous_configuration"] }
# rust-tls = { version = "0.16.0", package="rustls", optional = true, features = ["dangerous_configuration"] }

[dev-dependencies]
actix-connect = { version = "1.0.0-alpha.1", features=["openssl"] }
Expand Down

0 comments on commit 56b9f11

Please sign in to comment.