[package] name = "websocket-tcp-example" version = "2.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"