feat: with nats

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-09-24 00:44:18 +02:00
parent 0a78124489
commit 6db03e37cb
8 changed files with 841 additions and 5 deletions

View File

@@ -7,6 +7,7 @@ edition = "2021"
crunch-envelope.workspace = true
crunch-in-memory = { workspace = true, optional = true }
crunch-traits.workspace = true
crunch-nats = {workspace = true,optional = true}
anyhow.workspace = true
tracing.workspace = true
@@ -21,6 +22,7 @@ futures.workspace = true
tracing-subscriber.workspace = true
[features]
default = ["in-memory", "traits"]
default = ["in-memory", "traits", "nats"]
traits = []
in-memory = ["dep:crunch-in-memory"]
in-memory = ["dep:crunch-in-memory"]
nats = ["dep:crunch-nats"]