aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
blob: 189c37604feee82abab842c08ff75a77272b0508 (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
/*
 * 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 daemon;
pub mod database;
pub mod mpris;
pub mod notification;
pub mod playback;
pub mod queue;
pub mod scrobbler;
pub mod state;