feat: add subscriptions

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-09-23 18:21:39 +02:00
parent c662d65799
commit 98550ace16
21 changed files with 431 additions and 130 deletions

25
Cargo.lock generated
View File

@@ -297,6 +297,8 @@ dependencies = [
"anyhow",
"async-trait",
"crunch-envelope",
"crunch-in-memory",
"crunch-traits",
"futures",
"thiserror",
"tokio",
@@ -323,6 +325,29 @@ dependencies = [
"thiserror",
]
[[package]]
name = "crunch-in-memory"
version = "0.1.0"
dependencies = [
"anyhow",
"async-trait",
"crunch-traits",
"thiserror",
"tokio",
"tracing",
]
[[package]]
name = "crunch-traits"
version = "0.1.0"
dependencies = [
"anyhow",
"async-trait",
"thiserror",
"tokio",
"uuid",
]
[[package]]
name = "either"
version = "1.9.0"