mirror of
https://github.com/actix/examples
synced 2024-11-30 17:14:35 +01:00
31 lines
543 B
TOML
31 lines
543 B
TOML
[package]
|
|
name = "websocket-tcp-example"
|
|
version = "2.0.0"
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[[bin]]
|
|
name = "websocket-tcp-server"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "websocket-tcp-client"
|
|
path = "src/client.rs"
|
|
|
|
[dependencies]
|
|
actix = "0.10"
|
|
actix-web = "3"
|
|
actix-web-actors = "3"
|
|
actix-files = "0.3"
|
|
actix-codec = "0.3"
|
|
|
|
rand = "0.7"
|
|
bytes = "0.5.3"
|
|
byteorder = "1.2"
|
|
futures = "0.3"
|
|
env_logger = "0.8"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
tokio = "0.2.4"
|
|
tokio-util = "0.3"
|