2018-05-11 14:35:43 -07:00
|
|
|
[package]
|
|
|
|
name = "websocket-tcp-example"
|
2022-02-02 01:45:20 +00:00
|
|
|
version = "1.0.0"
|
2022-02-02 01:43:51 +00:00
|
|
|
edition = "2021"
|
2018-05-11 14:35:43 -07:00
|
|
|
|
|
|
|
[[bin]]
|
2018-09-24 11:57:36 +03:00
|
|
|
name = "websocket-tcp-server"
|
2018-05-11 14:35:43 -07:00
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
|
|
[[bin]]
|
2018-09-24 11:57:36 +03:00
|
|
|
name = "websocket-tcp-client"
|
2018-05-11 14:35:43 -07:00
|
|
|
path = "src/client.rs"
|
|
|
|
|
|
|
|
[dependencies]
|
2022-03-04 03:45:03 +00:00
|
|
|
actix = "0.13"
|
2022-03-04 16:28:40 +00:00
|
|
|
actix-codec = "0.5"
|
2022-02-25 21:07:22 +00:00
|
|
|
actix-files = "0.6"
|
|
|
|
actix-web = "4"
|
2022-03-04 03:45:03 +00:00
|
|
|
actix-web-actors = "4.1"
|
2019-03-29 15:08:35 -07:00
|
|
|
|
2019-12-16 13:09:54 +06:00
|
|
|
byteorder = "1.2"
|
2022-02-17 14:54:41 -05:00
|
|
|
bytes = "1"
|
|
|
|
env_logger = "0.9"
|
2022-07-12 01:08:56 +01:00
|
|
|
futures-util = { version = "0.3.17", default-features = false, features = ["std", "sink"] }
|
2022-02-17 14:54:41 -05:00
|
|
|
log = "0.4"
|
|
|
|
rand = "0.8"
|
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
serde_json = "1"
|
2022-02-18 01:44:53 +00:00
|
|
|
tokio = { version = "1.13.1", features = ["full"] }
|
2022-03-04 16:28:40 +00:00
|
|
|
tokio-util = { version = "0.7", features = ["codec"] }
|
2022-02-17 14:54:41 -05:00
|
|
|
tokio-stream = "0.1.8"
|