[package]
name = "pulsedeck"
version = "0.1.8"
edition = "2021"
description = "A cyber-synthwave internet radio player and smart tape recorder for your terminal"
license = "MIT"
repository = "https://github.com/milgaj84/pulsedeck"
homepage = "https://github.com/milgaj84/pulsedeck"
readme = "README.md"
keywords = ["radio", "tui", "music", "streaming", "catppuccin"]
categories = ["command-line-utilities", "multimedia::audio"]
exclude = ["recordings/", "library.json", ".gitignore", "*.orig"]

[[bin]]
name = "pulsedeck"
path = "src/main.rs"

[dependencies]
# TUI
ratatui = "0.30"
crossterm = { version = "0.29", features = ["event-stream"] }

# Async runtime
tokio = { version = "1", features = ["full"] }

# Audio playback
rodio = { version = "0.20", features = ["symphonia-all"] }
cpal = "0.15"
libc = "0.2"

# HTTP + JSON
reqwest = { version = "0.12", features = ["json", "blocking"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"

# Error handling
anyhow = "1"

# Config directories
dirs = "6"

# Desktop Notifications
notify-rust = "4"
id3 = "1"

# Logging (optional, useful for debugging)
# tracing = "0.1"
# tracing-subscriber = "0.3"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
