1
0
mirror of https://github.com/actix/examples synced 2024-11-24 06:43:00 +01:00
examples/websockets/chat-tcp/Cargo.toml
2022-12-30 16:25:40 +00:00

32 lines
767 B
TOML

[package]
name = "websocket-tcp-example"
version = "1.0.0"
edition = "2021"
[[bin]]
name = "websocket-tcp-server"
path = "src/main.rs"
[[bin]]
name = "websocket-tcp-client"
path = "src/client.rs"
[dependencies]
actix = { workspace = true }
actix-codec = { workspace = true }
actix-files = { workspace = true }
actix-web = { workspace = true }
actix-web-actors = { workspace = true }
byteorder = "1.2"
bytes = "1"
env_logger.workspace = true
futures-util = { version = "0.3.17", default-features = false, features = ["std", "sink"] }
log.workspace = true
rand = "0.8"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1.13.1", features = ["full"] }
tokio-util = { version = "0.7", features = ["codec"] }
tokio-stream = "0.1.8"