trix_player/lib.rs
1#[cfg(not(target_os = "linux"))]
2compile_error!("trix-player is Linux-only. Build on Linux (target_os=\"linux\").");
3
4mod app;
5mod audio;
6mod config;
7mod library;
8mod meta;
9mod player;
10mod term;
11mod ui;
12mod util;
13
14/// Runs the terminal music player.
15///
16/// The binary entrypoint (`src/main.rs`) delegates to this so the codebase can be
17/// structured like a normal Rust library.
18pub fn run() -> anyhow::Result<()> {
19 app::run()
20}