[package]
edition = "2021"
rust-version = "1.88"
name = "skadoosh"
version = "0.9.1"
build = false
exclude = [
"models/",
"tests/data/",
".github/",
"scripts/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Modular, low-latency local voice agent framework: VAD → Whisper STT → streaming LLM → ONNX TTS with barge-in"
homepage = "https://github.com/Hot-Coco/Skadoosh"
readme = "README.md"
keywords = [
"voice",
"stt",
"tts",
"llm",
"audio",
]
categories = [
"multimedia::audio",
"science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Hot-Coco/Skadoosh"
[package.metadata.docs.rs]
no-default-features = true
features = ["load-dynamic"]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
audio = [
"dep:cpal",
"dep:whisper-rs",
"dep:aec-rs",
"dep:misaki-rs",
]
default = [
"download-binaries",
"audio",
]
download-binaries = [
"ort/download-binaries",
"ort/tls-rustls",
"ort/copy-dylibs",
]
gpu-coreml = ["ort/coreml"]
gpu-cuda = ["ort/cuda"]
gpu-directml = ["ort/directml"]
gpu-rocm = ["ort/rocm"]
load-dynamic = ["ort/load-dynamic"]
[lib]
name = "skadoosh"
path = "src/lib.rs"
[[bin]]
name = "skadoosh"
path = "src/main.rs"
required-features = ["audio"]
[[example]]
name = "01_hello_tts"
path = "cookbooks/01_hello_tts.rs"
[[example]]
name = "02_text_turn"
path = "cookbooks/02_text_turn.rs"
[[example]]
name = "03_repl_mode"
path = "cookbooks/03_repl_mode.rs"
[[example]]
name = "04_multimodal"
path = "cookbooks/04_multimodal.rs"
[[example]]
name = "05_tool_defs"
path = "cookbooks/05_tool_defs.rs"
[[example]]
name = "06_tool_executor"
path = "cookbooks/06_tool_executor.rs"
[[example]]
name = "07_events"
path = "cookbooks/07_events.rs"
[[example]]
name = "08_clause_stream"
path = "cookbooks/08_clause_stream.rs"
[[example]]
name = "09_history"
path = "cookbooks/09_history.rs"
[[example]]
name = "10_config_modes"
path = "cookbooks/10_config_modes.rs"
[[example]]
name = "11_barge_in"
path = "cookbooks/11_barge_in.rs"
required-features = ["audio"]
[[example]]
name = "12_mock_pipeline"
path = "cookbooks/12_mock_pipeline.rs"
[[example]]
name = "13_image_encoding"
path = "cookbooks/13_image_encoding.rs"
[[example]]
name = "14_wake_word"
path = "cookbooks/14_wake_word.rs"
[[example]]
name = "15_push_to_talk"
path = "cookbooks/15_push_to_talk.rs"
[[example]]
name = "chatbot"
path = "examples/chatbot.rs"
[[example]]
name = "docbot"
path = "examples/docbot.rs"
[[example]]
name = "mock_agent"
path = "examples/mock_agent.rs"
required-features = ["audio"]
[[example]]
name = "text_chat"
path = "examples/text_chat.rs"
[[example]]
name = "voice_agent"
path = "examples/voice_agent.rs"
required-features = ["audio"]
[[test]]
name = "audio_flush"
path = "tests/audio_flush.rs"
[[test]]
name = "config_modes"
path = "tests/config_modes.rs"
[[test]]
name = "examples"
path = "tests/examples.rs"
[[test]]
name = "forward"
path = "tests/forward.rs"
[[test]]
name = "hold_music"
path = "tests/hold_music.rs"
[[test]]
name = "hold_music_pipeline"
path = "tests/hold_music_pipeline.rs"
[[test]]
name = "llm_mock"
path = "tests/llm_mock.rs"
[[test]]
name = "memory"
path = "tests/memory.rs"
[[test]]
name = "mesh"
path = "tests/mesh.rs"
[[test]]
name = "mock_tts_wav"
path = "tests/mock_tts_wav.rs"
[[test]]
name = "phonemes"
path = "tests/phonemes.rs"
[[test]]
name = "plugins"
path = "tests/plugins.rs"
[[test]]
name = "rag"
path = "tests/rag.rs"
[[test]]
name = "resample"
path = "tests/resample.rs"
[[test]]
name = "sandbox"
path = "tests/sandbox.rs"
[[test]]
name = "say_wav"
path = "tests/say_wav.rs"
[[test]]
name = "sdk_agent"
path = "tests/sdk_agent.rs"
[[test]]
name = "selftest"
path = "tests/selftest.rs"
[[test]]
name = "sigint"
path = "tests/sigint.rs"
[[test]]
name = "splitter"
path = "tests/splitter.rs"
[[test]]
name = "stt_jfk"
path = "tests/stt_jfk.rs"
[[test]]
name = "tools"
path = "tests/tools.rs"
[[test]]
name = "vad_jfk"
path = "tests/vad_jfk.rs"
[[test]]
name = "vad_segmenter"
path = "tests/vad_segmenter.rs"
[[test]]
name = "watch"
path = "tests/watch.rs"
[dependencies.aec-rs]
version = "=1"
optional = true
[dependencies.anyhow]
version = "1"
[dependencies.base64]
version = "=0.22"
[dependencies.clap]
version = "=4"
features = [
"derive",
"env",
]
[dependencies.cpal]
version = "=0.18"
optional = true
[dependencies.crossterm]
version = "=0.28"
[dependencies.futures-util]
version = "=0.3"
[dependencies.misaki-rs]
version = "0.3"
optional = true
[dependencies.ort]
version = "=2.0.0-rc.13"
features = [
"std",
"ndarray",
"tracing",
"api-27",
]
default-features = false
[dependencies.reqwest]
version = "=0.12"
features = [
"rustls-tls",
"stream",
"json",
]
default-features = false
[dependencies.ringbuf]
version = "=0.4"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "=2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"signal",
]
[dependencies.tokio-util]
version = "=0.7"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.wasmtime]
version = "30"
features = [
"cranelift",
"runtime",
"std",
]
default-features = false
[dependencies.whisper-rs]
version = "=0.15.1"
optional = true
[dev-dependencies.hound]
version = "=3"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.wat]
version = "1"
[target."cfg(unix)".dependencies.notify]
version = "7"
[target."cfg(unix)".dependencies.rlimit]
version = "0.10"
[profile.dev.package."*"]
opt-level = 2
[profile.release]
lto = "thin"
codegen-units = 1