[package]
edition = "2021"
rust-version = "1.89"
name = "aurum-core"
version = "0.0.2"
authors = ["Joe Broadhead"]
build = false
include = [
"src/**/*",
"examples/**/*",
"tests/**/*",
"Cargo.toml",
"README.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "On-device speech I/O core: whisper.cpp STT, ONNX TTS, cleanup, providers"
homepage = "https://github.com/joe-broadhead/aurum"
documentation = "https://docs.rs/aurum-core"
readme = "README.md"
keywords = [
"transcription",
"whisper",
"speech-to-text",
"stt",
"tts",
]
categories = [
"multimedia::audio",
"api-bindings",
]
license = "MIT"
repository = "https://github.com/joe-broadhead/aurum"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = ["tts"]
tts = [
"dep:ort",
"dep:misaki-rs",
"dep:zip",
]
[lib]
name = "aurum_core"
path = "src/lib.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[test]]
name = "cancel_and_window"
path = "tests/cancel_and_window.rs"
[[test]]
name = "local_integration"
path = "tests/local_integration.rs"
[[test]]
name = "output_and_config"
path = "tests/output_and_config.rs"
[[test]]
name = "pcm_api"
path = "tests/pcm_api.rs"
[[test]]
name = "tts_synth"
path = "tests/tts_synth.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.directories]
version = "6"
[dependencies.futures-util]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.hound]
version = "3.5"
[dependencies.indicatif]
version = "0.17"
[dependencies.misaki-rs]
version = "0.3.0"
optional = true
default-features = false
[dependencies.once_cell]
version = "1"
[dependencies.ort]
version = "=2.0.0-rc.11"
features = [
"std",
"download-binaries",
"tls-rustls",
]
optional = true
default-features = false
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"multipart",
"rustls-tls",
"stream",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"fs",
"io-util",
"process",
]
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.which]
version = "7"
[dependencies.zip]
version = "2"
features = ["deflate"]
optional = true
default-features = false
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"fs",
"io-util",
"process",
]
[dev-dependencies.wiremock]
version = "0.6"
[target.'cfg(not(target_os = "macos"))'.dependencies.whisper-rs]
version = "0.16"
[target.'cfg(target_os = "macos")'.dependencies.whisper-rs]
version = "0.16"
features = ["metal"]