finga
afa1d19dd8
Use websockets to send binary messages to the server. The server logs the time taken by the client, as well as the time calculated with the received messages sent by the client.
25 lines
778 B
TOML
25 lines
778 B
TOML
[package]
|
|
name = "lockwatch"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "A competitive stopwatch, created for but not limited to lock-picking competitions."
|
|
license = "GPL-3.0-or-later"
|
|
readme = "../README.md"
|
|
repository = "https://git.onders.org/finga/lockwatch"
|
|
keywords = ["stop-watch", "time-taking", "lock-picking"]
|
|
categories = ["web-programming::http-server"]
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
log = "0.4"
|
|
axum = { version = "0.5", features = ["ws", "headers"] }
|
|
axum-extra = { version = "0.3", features = ["spa"] }
|
|
tokio = { version = "1.0", features = ["full"] }
|
|
tracing-subscriber = "0.3"
|
|
tower = "0.4"
|
|
tower-http = { version = "0.3", features = ["full"] }
|
|
clap = { version = "4", features = ["derive"] }
|
|
headers = "0.3"
|
|
bincode = "1"
|
|
client = { path = "../client" }
|