mirror of
https://github.com/actix/examples
synced 2024-11-30 17:14:35 +01:00
d9afae21b6
Give each example binary a unique name. This should allow running cargo run --bin in the root directory.
21 lines
308 B
TOML
21 lines
308 B
TOML
[package]
|
|
name = "websocket"
|
|
version = "0.1.0"
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
|
workspace = "../"
|
|
|
|
[[bin]]
|
|
name = "websocket-server"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "websocket-client"
|
|
path = "src/client.rs"
|
|
|
|
[dependencies]
|
|
env_logger = "*"
|
|
futures = "0.1"
|
|
|
|
actix = "0.7"
|
|
actix-web = "0.7"
|