swarm-stt: the speech-to-text core (hash cache, shared runs, ffmpeg and whisper-cli engine)
This commit is contained in:
parent
5443c1c9ba
commit
df4b2f1838
1 changed files with 663 additions and 0 deletions
22
swarm-stt/Cargo.toml
Normal file
22
swarm-stt/Cargo.toml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
[package]
|
||||
name = "swarm-stt"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[dependencies]
|
||||
# The `Engine` trait: a fake in the tests, whisper in the daemon.
|
||||
async-trait.workspace = true
|
||||
# The SHA-256 of the audio, which keys the cache and the in-flight map.
|
||||
sha2.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
|
||||
Loading…
Reference in a new issue