2018-05-11 23:35:43 +02:00
|
|
|
[package]
|
|
|
|
name = "websocket-tcp-example"
|
2022-02-02 02:45:20 +01:00
|
|
|
version = "1.0.0"
|
2022-02-02 02:43:51 +01:00
|
|
|
edition = "2021"
|
2018-05-11 23:35:43 +02:00
|
|
|
|
|
|
|
[[bin]]
|
2018-09-24 10:57:36 +02:00
|
|
|
name = "websocket-tcp-server"
|
2018-05-11 23:35:43 +02:00
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
|
|
[[bin]]
|
2018-09-24 10:57:36 +02:00
|
|
|
name = "websocket-tcp-client"
|
2018-05-11 23:35:43 +02:00
|
|
|
path = "src/client.rs"
|
|
|
|
|
|
|
|
[dependencies]
|
2023-01-02 21:33:43 +01:00
|
|
|
actix.workspace = true
|
|
|
|
actix-codec.workspace = true
|
|
|
|
actix-files.workspace = true
|
|
|
|
actix-web.workspace = true
|
|
|
|
actix-web-actors.workspace = true
|
2019-03-29 23:08:35 +01:00
|
|
|
|
2019-12-16 08:09:54 +01:00
|
|
|
byteorder = "1.2"
|
2022-02-17 20:54:41 +01:00
|
|
|
bytes = "1"
|
2022-12-30 17:25:40 +01:00
|
|
|
env_logger.workspace = true
|
2023-01-02 21:33:43 +01:00
|
|
|
futures-util = { workspace = true, features = ["sink"] }
|
2022-12-30 17:25:40 +01:00
|
|
|
log.workspace = true
|
2023-01-02 21:35:37 +01:00
|
|
|
rand.workspace = true
|
2023-01-02 21:35:11 +01:00
|
|
|
serde.workspace = true
|
|
|
|
serde_json.workspace = true
|
2023-01-02 21:33:43 +01:00
|
|
|
tokio = { workspace = true, features = ["full"] }
|
2022-03-04 17:28:40 +01:00
|
|
|
tokio-util = { version = "0.7", features = ["codec"] }
|
2022-02-17 20:54:41 +01:00
|
|
|
tokio-stream = "0.1.8"
|