38 lines
1 KiB
TOML
38 lines
1 KiB
TOML
[package]
|
|
name = "swarm-stt"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
|
|
[[bin]]
|
|
name = "swarm-stt"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
async-nats.workspace = true
|
|
# The `Engine` trait: a fake in the tests, whisper in the daemon.
|
|
async-trait.workspace = true
|
|
# Draining the subscription.
|
|
futures-util.workspace = true
|
|
hive-log.workspace = true
|
|
serde_json.workspace = true
|
|
# The SHA-256 of the audio, which keys the cache and the in-flight map.
|
|
sha2.workspace = true
|
|
# The queue connect with its OIDC client credentials.
|
|
swarm-queue-client.workspace = true
|
|
# The client secret, read with the service's own store leaf.
|
|
swarm-secret-client.workspace = true
|
|
# The subject, request and response of the wire.
|
|
swarm-wire.workspace = true
|
|
thiserror.workspace = true
|
|
tokio.workspace = true
|
|
tracing.workspace = true
|
|
|
|
[dev-dependencies]
|
|
# A scratch cache directory per test.
|
|
tempfile = "3"
|
|
# `start_paused` for the test that overlaps two requests.
|
|
tokio = { workspace = true, features = ["test-util"] }
|
|
|
|
[lints]
|
|
workspace = true
|