mirror of
https://github.com/actix/examples
synced 2024-12-05 03:01:55 +01:00
d9afae21b6
Give each example binary a unique name. This should allow running cargo run --bin in the root directory.
25 lines
376 B
TOML
25 lines
376 B
TOML
[package]
|
|
name = "websocket-example"
|
|
version = "0.1.0"
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
|
workspace = "../"
|
|
|
|
[[bin]]
|
|
name = "websocket-chat-server"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
rand = "*"
|
|
bytes = "0.4"
|
|
byteorder = "1.1"
|
|
futures = "0.1"
|
|
tokio-io = "0.1"
|
|
tokio-core = "0.1"
|
|
env_logger = "*"
|
|
|
|
serde = "1.0"
|
|
serde_json = "1.0"
|
|
|
|
actix = "0.7"
|
|
actix-web = "0.7"
|