mirror of
https://github.com/actix/examples
synced 2024-11-27 16:02:57 +01:00
0a2a356e7a
In actix-web's Cargo.toml, feature "alpn" is marked as deprecated, with the suggestion to use "ssl", instead.
16 lines
292 B
TOML
16 lines
292 B
TOML
[package]
|
|
name = "tls-example"
|
|
version = "0.1.0"
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
|
workspace = "../"
|
|
|
|
[[bin]]
|
|
name = "tls-server"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
env_logger = "0.5"
|
|
openssl = { version="0.10" }
|
|
actix = "0.7"
|
|
actix-web = { version = "0.7", features=["ssl"] }
|