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:
27
websockets/echo/Cargo.toml
Normal file
27
websockets/echo/Cargo.toml
Normal file
@ -0,0 +1,27 @@
|
||||
[package]
|
||||
name = "websocket"
|
||||
version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[[bin]]
|
||||
name = "websocket-server"
|
||||
path = "src/main.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "websocket-client"
|
||||
path = "src/client.rs"
|
||||
|
||||
[dependencies]
|
||||
actix = "0.12"
|
||||
actix-codec = "0.5"
|
||||
actix-files = "0.6.0-beta.16"
|
||||
actix-rt = "2"
|
||||
actix-web = "4.0.0-rc.3"
|
||||
actix-web-actors = "4.0.0-beta.12"
|
||||
awc = "3.0.0-beta.21"
|
||||
|
||||
env_logger = "0.9"
|
||||
log = "0.4"
|
||||
futures = "0.3.7"
|
||||
tokio = { version = "1.13.1", features = ["full"] }
|
||||
tokio-stream = "0.1.8"
|
Reference in New Issue
Block a user