Files
ncspot/Cargo.toml
Henrik Friedrichsen bd749530a8 Bump version to 0.9.2
2021-11-30 20:44:29 +01:00

83 lines
2.5 KiB
TOML

[package]
name = "ncspot"
description = "ncurses Spotify client written in Rust using librespot, inspired by ncmpc and the likes."
exclude = ["images/**"]
version = "0.9.2"
authors = ["Henrik Friedrichsen <henrik@affekt.org>"]
repository = "https://github.com/hrkfdn/ncspot"
keywords = ["spotify", "ncurses", "librespot", "terminal"]
license = "BSD-2-Clause"
readme = "README.md"
edition = "2021"
[badges]
maintenance = { status = "actively-developed" }
[dependencies]
clap = "2.33.0"
chrono = "0.4"
reqwest = { version = "0.11", features = ["blocking", "json"] }
crossbeam-channel = "0.5"
platform-dirs = "0.3.0"
fern = "0.6"
futures = { version = "0.3", features = ["compat"] }
lazy_static = "1.3.0"
librespot-core = "0.3.1"
librespot-playback = "0.3.1"
librespot-protocol = "0.3.1"
log = "0.4.13"
notify-rust = { version = "4", optional = true }
serde = "1.0"
serde_json = "1.0"
tokio = { version = "1", features = ["rt-multi-thread", "sync", "time"] }
tokio-stream = "0.1.8"
toml = "0.5"
unicode-width = "0.1.9"
dbus = { version = "0.9.5", optional = true }
dbus-tree = { version = "0.9.2", optional = true }
rand = "0.8"
webbrowser = "0.5"
clipboard = { version = "0.5", optional = true }
url = "2.2"
strum = "0.23.0"
strum_macros = "0.23.1"
regex = "1"
ioctl-rs = { version = "0.2", optional = true }
serde_cbor = "0.11.2"
pancurses = { version = "0.17.0", features = ["win32"] }
[dependencies.rspotify]
version = "0.11.3"
default-features = false
features = ["client-ureq", "ureq-rustls-tls"]
[dependencies.cursive]
version = "0.16.3"
default-features = false
[features]
share_clipboard = ["clipboard"]
share_selection = ["clipboard"] # Use the primary selection for sharing - linux only
alsa_backend = ["librespot-playback/alsa-backend"]
pulseaudio_backend = ["librespot-playback/pulseaudio-backend"]
rodio_backend = ["librespot-playback/rodio-backend"]
portaudio_backend = ["librespot-playback/portaudio-backend"]
termion_backend = ["cursive/termion-backend"]
mpris = ["dbus", "dbus-tree"]
notify = ["notify-rust"]
cover = ["ioctl-rs"]
default = ["share_clipboard", "pulseaudio_backend", "mpris", "notify", "cursive/pancurses-backend"]
[package.metadata.deb]
depends = "$auto, pulseaudio"
section = "sound"
priority = "optional"
extended-description = """\
ncurses Spotify client written in Rust using librespot. \
It is heavily inspired by ncurses MPD clients, such as ncmpc."""
license-file = ["LICENSE"]
assets = [
["target/release/ncspot", "usr/bin/", "755"],
["README.md", "usr/share/doc/ncspot/README.md", "644"],
]