39 lines
1 KiB
TOML
39 lines
1 KiB
TOML
[package]
|
|
name = "swarm-notify-router"
|
|
version.workspace = true
|
|
readme = "README.md"
|
|
edition.workspace = true
|
|
|
|
[[bin]]
|
|
name = "swarm-notify-router"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
# `kv` for its state bucket; `jetstream` comes with it.
|
|
async-nats = { workspace = true, features = ["kv"] }
|
|
# StreamExt / TryStreamExt on the pulled batch and the subject listing.
|
|
futures-util.workspace = true
|
|
hive-log.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
# The connect, and the two streams' configs it shares with the controller and
|
|
# the agent harness.
|
|
swarm-queue-client = { workspace = true, features = [
|
|
"forge-events",
|
|
"router-todo",
|
|
] }
|
|
# Its queue client secret, read with its own store leaf.
|
|
swarm-secret-client.workspace = true
|
|
# The stream, subject, bucket and op names.
|
|
swarm-wire.workspace = true
|
|
tokio.workspace = true
|
|
tracing.workspace = true
|
|
|
|
# A fresh directory per test `nats-server`, for its store and ports file.
|
|
[dev-dependencies]
|
|
tempfile = "3"
|
|
tracing-subscriber.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|