[package]
edition = "2024"
name = "aria-kit"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Audio capture, transcription, synthesis, and voice-analysis contracts for local speech apps"
readme = "README.md"
keywords = [
"audio",
"speech",
"microphone",
"voice",
"vad",
]
license = "Apache-2.0"
repository = "https://github.com/Farhad-Shabani/aria"
[package.metadata.docs.rs]
features = [
"microphone",
"playback",
]
[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 = []
[lib]
name = "aria_kit"
path = "src/lib.rs"
[dependencies.aria-primitives]
version = "0.7.0"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.serde_json]
version = "1"
[target.'cfg(not(target_family = "wasm"))'.dependencies.cpal]
version = "0.18"
optional = true
[target.'cfg(not(target_family = "wasm"))'.dependencies.hound]
version = "3.5"
[target.'cfg(not(target_family = "wasm"))'.dependencies.ort]
version = "=2.0.0-rc.13"
optional = true
[target.'cfg(not(target_family = "wasm"))'.dependencies.rtrb]
version = "0.4"
optional = true
[target.'cfg(not(target_family = "wasm"))'.dependencies.rubato]
version = "4"
[target.'cfg(not(target_family = "wasm"))'.dependencies.rustix]
version = "1"
features = [
"fs",
"process",
]
optional = true
[target.'cfg(not(target_family = "wasm"))'.dependencies.silero]
version = "=0.6.0"
optional = true
[target.'cfg(not(target_family = "wasm"))'.dependencies.tempfile]
version = "3"
[lints.clippy]
dbg_macro = "deny"
debug_assert_with_mut_call = "deny"
doc_link_with_quotes = "deny"
inefficient_to_string = "deny"
manual_ok_or = "deny"
map_flatten = "deny"
match_same_arms = "deny"
redundant_clone = "deny"
semicolon_if_nothing_returned = "deny"
todo = "deny"
trait_duplication_in_bounds = "deny"
unimplemented = "deny"
uninlined_format_args = "deny"
use_self = "deny"
[lints.rust]
dead_code = "deny"
trivial_casts = "deny"
unreachable_pub = "deny"
unsafe_code = "deny"
unused_import_braces = "deny"
[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1