1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-26 15:07:42 +02:00

Allow to start tls server with HttpServer::serve_tls

This commit is contained in:
Nikolay Kim
2017-11-01 16:34:58 -07:00
parent a12e5e9cf5
commit ec3b139273
8 changed files with 152 additions and 19 deletions

View File

@ -25,7 +25,9 @@ path = "src/lib.rs"
[features]
default = []
# http/2
# tls
tls = ["native-tls", "tokio-tls"]
# http2 = ["h2"]
[dependencies]
@ -49,6 +51,10 @@ tokio-io = "0.1"
tokio-core = "0.1"
# h2 = { git = 'https://github.com/carllerche/h2', optional = true }
# tls
native-tls = { version="0.1", optional = true }
tokio-tls = { version="0.1", optional = true }
[dependencies.actix]
version = ">=0.3.1"
#path = "../actix"