mirror of
https://github.com/actix/examples
synced 2024-11-30 09:12:54 +01:00
21b6cd1d36
- Make it easier for users to find rust code they can use for the client - Remove the need to install websocat to get cli
24 lines
523 B
TOML
24 lines
523 B
TOML
[package]
|
|
name = "websockets-echo-actorless-example"
|
|
version = "1.0.0"
|
|
edition = "2021"
|
|
|
|
[[bin]]
|
|
name = "websocket-server"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "websocket-client"
|
|
path = "src/client.rs"
|
|
|
|
[dependencies]
|
|
actix-files.workspace = true
|
|
actix-web.workspace = true
|
|
actix-ws.workspace = true
|
|
awc.workspace = true
|
|
env_logger.workspace = true
|
|
futures-util = { workspace = true, features = ["sink"] }
|
|
log.workspace = true
|
|
tokio = { workspace = true, features = ["rt", "time", "macros"] }
|
|
tokio-stream.workspace = true
|