[package]
name = "aria-kit"
version.workspace = true
edition.workspace = true
description = "Audio capture, transcription, synthesis, and voice-analysis contracts for local speech apps"
license = "Apache-2.0"
repository.workspace = true
readme.workspace = true
keywords = [ "audio", "speech", "microphone", "voice", "vad" ]
[package.metadata.docs.rs]
features = [ "microphone", "playback" ]
[lints]
workspace = true
[package.metadata.cargo-shear]
ignored = [ "ort" ]
[features]
microphone = [ "dep:cpal", "dep:rtrb", "dep:rustix", "silero" ]
playback = [ "dep:cpal" ]
silero = [ "dep:ort", "dep:silero" ]
test-support = [ ]
[dependencies]
aria-primitives = { workspace = true }
serde = { workspace = true }
thiserror = { workspace = true }
tracing = { workspace = true }
[target.'cfg(not(target_family = "wasm"))'.dependencies]
cpal = { version = "0.18", optional = true }
hound = { workspace = true }
rtrb = { version = "0.4", optional = true }
rubato = { workspace = true }
rustix = { workspace = true, features = [ "fs", "process" ], optional = true }
ort = { workspace = true, optional = true }
silero = { version = "=0.6.0", optional = true }
tempfile = { workspace = true }
[dev-dependencies]
serde_json = { workspace = true }