Research-Stack/5-Applications/audio-dsp/cargo.toml

69 lines
1.7 KiB
TOML

[package]
name = "chunked-audio-dsp"
version = "0.1.0"
edition = "2021"
authors = ["Your Name"]
description = "Dual-domain signal analysis: real-time streaming and batch corpus processing"
license = "MIT OR Apache-2.0"
repository = "https://github.com/YOUR_USERNAME/chunked-audio-DSP"
keywords = ["audio", "dsp", "signal-analysis", "pipewire", "flac"]
categories = ["multimedia::audio", "science::signal-processing"]
[features]
default = ["pipewire-backend", "flac-backend"]
pipewire-backend = ["dep:pipewire", "dep:realtime-priority"]
flac-backend = ["dep:symphonia"]
[dependencies]
# Core DSP
rustfft = "6.2"
realfft = "3.3"
smallvec = "1.11"
rustc-hash = "1.1"
# I/O backends
pipewire = { version = "0.8", optional = true }
realtime-priority = { version = "1.0", optional = true }
symphonia = { version = "0.5", features = ["flac"], optional = true }
# Serialization & Config
serde = { version = "1.0", features = ["derive"] }
toml = "0.8"
serde_json = "1.0"
chrono = { version = "0.4", features = ["serde"] }
csv = "1.3"
# Async & Concurrency
tokio = { version = "1.35", features = ["rt-multi-thread", "sync", "fs"] }
crossbeam = "0.8"
parking_lot = "0.12"
# CLI & Logging
clap = { version = "4.4", features = ["derive"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
color-eyre = "0.6"
indicatif = { version = "0.17", features = ["rayon"] }
rayon = "1.8"
# Networking (for streaming outputs)
zmq = { version = "0.10", optional = true }
[profile.release]
lto = "thin"
codegen-units = 1
panic = "abort"
strip = true
opt-level = 3
[lib]
name = "chunked_audio_dsp"
path = "src/lib.rs"
[[bin]]
name = "live-analyze"
path = "src/bin/live-analyze.rs"
[[bin]]
name = "flac-index"
path = "src/bin/flac-index.rs"