1
0
mirror of https://github.com/actix/examples synced 2024-11-30 17:14:35 +01:00
examples/websocket-tcp-chat/Cargo.toml
sapir d9afae21b6 Fix "websocket" example's readme, and make binary names unique (#45)
Give each example binary a unique name.

This should allow running cargo run --bin in the root directory.
2018-09-24 11:57:36 +03:00

31 lines
481 B
TOML

[package]
name = "websocket-tcp-example"
version = "0.1.0"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
workspace = "../"
[[bin]]
name = "websocket-tcp-server"
path = "src/main.rs"
[[bin]]
name = "websocket-tcp-client"
path = "src/client.rs"
[dependencies]
rand = "*"
bytes = "0.4"
byteorder = "1.1"
futures = "0.1"
tokio-io = "0.1"
tokio-tcp = "0.1"
tokio-codec = "0.1"
env_logger = "*"
serde = "1.0"
serde_json = "1.0"
serde_derive = "1.0"
actix = "0.7"
actix-web = "0.7"