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

add actorless websocket echo example

This commit is contained in:
Rob Ede
2022-07-11 01:44:46 +01:00
parent 4ff98dbaa5
commit a4a060994d
8 changed files with 248 additions and 1 deletions

View File

@ -0,0 +1,16 @@
[package]
name = "websocket-echo-actorless-example"
version = "1.0.0"
edition = "2021"
[dependencies]
actix-files = "0.6"
actix-web = "4"
actix-ws = "0.2.5"
awc = "3"
env_logger = "0.9"
futures-util = { version = "0.3.7", default-features = false, features = ["std", "sink"] }
log = "0.4"
tokio = { version = "1.13.1", features = ["full"] }
tokio-stream = "0.1.8"