35 lines
779 B
TOML
35 lines
779 B
TOML
[package]
|
|
name = "wss_demo"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# Empty workspace table to exclude from parent workspace
|
|
[workspace]
|
|
|
|
[[bin]]
|
|
name = "wss_client"
|
|
path = "wss_client.rs"
|
|
|
|
[[bin]]
|
|
name = "wss_server"
|
|
path = "wss_server.rs"
|
|
|
|
[dependencies]
|
|
# WebSocket client library
|
|
circle_client_ws = { path = "../../src/client_ws", features = ["crypto"] }
|
|
|
|
# Server library for the WSS server demo
|
|
circle_ws_lib = { path = "../../src/server", features = ["auth"] }
|
|
|
|
# Common dependencies
|
|
tokio = { version = "1.45", features = ["full"] }
|
|
env_logger = "0.10"
|
|
log = "0.4"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
|
|
# Server-specific dependencies
|
|
actix = "0.13"
|
|
actix-web = "4.11"
|
|
actix-web-actors = "4.3"
|
|
clap = { version = "4.5", features = ["derive"] } |