1
0
mirror of https://github.com/actix/examples synced 2025-06-27 01:27:43 +02:00

update all websocket examples to v4

This commit is contained in:
Rob Ede
2022-02-18 01:44:53 +00:00
parent 1b23e3ff3d
commit 4d8573c3fe
40 changed files with 1340 additions and 1682 deletions

View File

@ -0,0 +1,31 @@
[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.12"
actix-codec = "0.4.1"
actix-files = "0.6.0-beta.16"
actix-web = "4.0.0-rc.3"
actix-web-actors = "4.0.0-beta.11"
byteorder = "1.2"
bytes = "1"
env_logger = "0.9"
futures = "0.3"
log = "0.4"
rand = "0.8"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1.13.1", features = ["full"] }
tokio-util = { version = "0.6", features = ["codec"] }
tokio-stream = "0.1.8"