aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
blob: fe0a3b685cf66e3d774f0ebd8503425d11ac8a75 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * This file is a part of RSPlayer
 * Licensed under the GPL-3.0 License
 * Copyright (C) 2026 Salmonik @ salmonik@tuta.io
 * https://codeberg.org/salmonik/RSPlayer
*/

#[inline(always)]
pub fn debug_eprintln(args: core::fmt::Arguments<'_>) {
    if cfg!(debug_assertions) {
        eprintln!("{}", args);
    }
}

pub mod audio;
pub mod cli;
pub mod config;
pub mod ctl;
pub mod daemon;
pub mod database;
pub mod mpris;
pub mod notification;
pub mod playback;
pub mod queue;
pub mod scrobbler;
pub mod state;