31 lines
1.1 KiB
TOML
31 lines
1.1 KiB
TOML
[package]
|
|
name = "improvise-ws-server"
|
|
version = "0.1.0-rc2"
|
|
edition = "2024"
|
|
description = "Websocket host for an improvise document: one authoritative App, many clients"
|
|
license = "Apache-2.0"
|
|
repository = "https://github.com/fiddlerwoaroof/improvise"
|
|
publish = false
|
|
|
|
[[bin]]
|
|
name = "improvise-ws-server"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
improvise-core = { path = "../improvise-core" }
|
|
improvise-io = { path = "../improvise-io" }
|
|
improvise-protocol = { path = "../improvise-protocol" }
|
|
improvise-command = { path = "../improvise-command" }
|
|
serde = { version = "1", features = ["derive"] }
|
|
# Parses frames, so it must read back the f64 that was written (improvise-6oy4,
|
|
# context/code/protocol.md).
|
|
serde_json = { version = "1", features = ["float_roundtrip"] }
|
|
anyhow = "1"
|
|
clap = { version = "4.6.7", features = ["derive"] }
|
|
tokio = { version = "1", features = ["rt", "macros", "net", "sync"] }
|
|
tokio-tungstenite = "0.30"
|
|
futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] }
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1", features = ["rt", "macros", "net", "sync", "time", "io-util"] }
|