46 lines
1.5 KiB
TOML
46 lines
1.5 KiB
TOML
[package]
|
|
name = "cbd-tui"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
|
|
# Desktop "now playing" notifications pull notify-rust and, on Linux, a
|
|
# D-Bus stack. On by default; off for a terminal-only client
|
|
# (architecture/build-features.md D1).
|
|
[features]
|
|
default = ["notifications", "mpris"]
|
|
notifications = ["dep:notify-rust"]
|
|
# The MPRIS player on the session bus: media keys and a "now playing"
|
|
# entry in the desktop's status bar (architecture/mpris.md). `zbus/tokio`
|
|
# so the bus connection runs on the client's own runtime instead of a
|
|
# second reactor (architecture/mpris.md, Risks).
|
|
mpris = ["dep:mpris-server", "mpris-server/tokio"]
|
|
|
|
[dependencies]
|
|
base64.workspace = true
|
|
cbd-cli = { workspace = true, features = ["client"] }
|
|
crabidy-core.workspace = true
|
|
crossterm.workspace = true
|
|
clap.workspace = true
|
|
dirs.workspace = true
|
|
toml.workspace = true
|
|
flume.workspace = true
|
|
libc.workspace = true
|
|
mpris-server = { workspace = true, optional = true }
|
|
notify-rust = { workspace = true, optional = true }
|
|
ratatui.workspace = true
|
|
serde.workspace = true
|
|
tokio = { workspace = true, features = ["full"] }
|
|
tokio-stream.workspace = true
|
|
tonic = { workspace = true, features = ["channel", "codegen"] }
|
|
tracing.workspace = true
|
|
tracing-appender.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
|
|
[dev-dependencies]
|
|
tempfile.workspace = true
|
|
|
|
# Default features only (clap-only) so asset generation stays cheap.
|
|
[build-dependencies]
|
|
cbd-cli.workspace = true
|
|
clap.workspace = true
|