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

View File

@@ -5,6 +5,8 @@ edition = "2021"
[dependencies]
crunch-envelope.workspace = true
crunch-in-memory = { workspace = true, optional = true }
crunch-traits.workspace = true
anyhow.workspace = true
tracing.workspace = true
@@ -16,4 +18,9 @@ uuid.workspace = true
futures.workspace = true
[dev-dependencies]
tracing-subscriber.workspace = true
tracing-subscriber.workspace = true
[features]
default = ["in-memory", "traits"]
traits = []
in-memory = ["dep:crunch-in-memory"]