mirror of
https://github.com/actix/examples
synced 2024-11-24 06:43:00 +01:00
d9afae21b6
Give each example binary a unique name. This should allow running cargo run --bin in the root directory.
16 lines
321 B
TOML
16 lines
321 B
TOML
[package]
|
|
name = "rustls-example"
|
|
version = "0.1.0"
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
|
workspace = "../"
|
|
|
|
[[bin]]
|
|
name = "rustls-server"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
env_logger = "0.5"
|
|
rustls = "0.13"
|
|
actix = "0.7"
|
|
actix-web = { git = "https://github.com/actix/actix-web.git", features=["rust-tls"] }
|