feat: initial REST endpoints and websocket

/create
/delete
/ws
This commit is contained in:
2023-06-10 18:54:23 +02:00
parent 5501b63379
commit 6e845907d1
9 changed files with 1476 additions and 3 deletions

View File

@@ -5,3 +5,15 @@ authors.workspace = true
edition.workspace = true
[dependencies]
serde.workspace = true
axum = { version = "0.6", features = ["ws", "headers"] }
serde_json = "1"
tokio = { version = "1", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.3"
common.workspace = true
thiserror = "1.0.40"
tower = "0.4.13"
uuid.workspace = true
tower-http = { version = "0.4.0", features = ["fs", "trace"] }
tokio-stream = { version = "0.1.14", features = ["sync"] }