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:
@ -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"
|
||||
|
Reference in New Issue
Block a user