mirror of
https://github.com/actix/examples
synced 2024-11-30 17:14:35 +01:00
32 lines
667 B
TOML
32 lines
667 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 = { workspace = true, features = ["sink"] }
|
|
log.workspace = true
|
|
rand.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
tokio = { workspace = true, features = ["full"] }
|
|
tokio-util.workspace = true
|
|
tokio-stream = "0.1.8"
|