Files
djdeck/src/main.rs

29 lines
610 B
Rust
Raw Normal View History

2026-03-05 15:41:53 +01:00
mod app;
mod audio;
mod cache;
mod deck;
mod effect_chain;
mod file_selector;
mod osc;
mod tui;
use anyhow::Result;
#[tokio::main]
async fn main() -> Result<()> {
// Log to file so we don't pollute the TUI
let log_file = std::fs::File::create("/tmp/djdeck.log")?;
tracing_subscriber::fmt()
.with_env_filter(
tracing_subscriber::EnvFilter::from_default_env()
.add_directive(tracing::Level::INFO.into()),
)
.with_writer(log_file)
.init();
tracing::info!("djdeck starting");
let mut app = app::App::new()?;
app.run().await
}