atradio 0.3.0

atradio.fm in your terminal — a TUI radio player on the AT Protocol
extern crate alloc;

// --- generated from packages/lexicons/lexicons/atradio (see scripts/gen-lexicons.sh) ---
#[allow(unused_imports, dead_code, clippy::all)]
pub mod builder_types;
#[cfg(feature = "fm_atradio")]
#[allow(unused_imports, dead_code, clippy::all)]
pub mod fm_atradio;

// --- hand-written app modules ---
mod appview;
mod atproto;
mod cli;
mod config;
#[cfg(target_os = "linux")]
mod mpris;
mod player;
mod radio;
#[cfg(any(target_os = "freebsd", target_os = "netbsd"))]
mod rcd;
mod remote;
mod settings;
#[cfg(target_os = "linux")]
mod systemd;
mod theme;
mod tui;

use clap::Parser;

#[tokio::main]
async fn main() {
    let args = cli::Cli::parse();
    if let Err(err) = cli::run(args).await {
        eprintln!("\x1b[31merror:\x1b[0m {err:#}");
        std::process::exit(1);
    }
}