[package]
name = "musicdb-lib"
version = "0.1.0"
edition = "2024"

[dependencies]
base64 = "0.22.1"
colorize = "0.1.0"
playback-rs = { version = "0.4.4", optional = true }
rand = "0.9.2"
rc-u8-reader = "2.0.16"
rodio = { version = "0.21.1", optional = true }
sysinfo = "0.37.0"

[features]
default = []
playback = []
default-playback = ["playback-via-playback-rs"]
# default-playback = ["playback-via-rodio"]
playback-via-sleep = ["playback"]
playback-via-mpv = ["playback"]
playback-via-playback-rs = ["playback", "dep:playback-rs"]
playback-via-rodio = ["playback", "dep:rodio"]
