mirror of
https://github.com/actix/examples
synced 2024-12-05 03:01:55 +01:00
30 lines
496 B
TOML
30 lines
496 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 = "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"
|