33 lines
1.3 KiB
TOML
33 lines
1.3 KiB
TOML
[package]
|
|
name = "circle_ws_lib" # Renamed to reflect library nature
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
name = "circle_ws_lib"
|
|
path = "src/lib.rs"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
actix-web = "4"
|
|
actix-web-actors = "4"
|
|
actix = "0.13"
|
|
env_logger = "0.10" # Keep for logging within the lib
|
|
log = "0.4"
|
|
# clap is removed as CLI parsing moves to the orchestrator bin
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
redis = { version = "0.25.0", features = ["tokio-comp"] } # For async Redis with Actix
|
|
uuid = { version = "1.6", features = ["v4", "serde"] } # Still used by RhaiClient or for task details
|
|
tokio = { version = "1", features = ["macros", "rt-multi-thread", "time"] } # Added "time" for Duration
|
|
chrono = { version = "0.4", features = ["serde"] } # For timestamps
|
|
rhai_client = { path = "../../rhailib/src/client" } # Corrected relative path
|
|
|
|
[dev-dependencies]
|
|
tokio-tungstenite = { version = "0.23.0", features = ["native-tls"] }
|
|
futures-util = "0.3" # For StreamExt and SinkExt on WebSocket stream
|
|
url = "2.5.0" # For parsing WebSocket URL
|
|
# circle_client_ws = { path = "../client_ws" } # This might need adjustment if it's a test client for the old binary
|
|
# uuid = { version = "1.6", features = ["v4", "serde"] } # Already in dependencies
|