* chore(deps): bump the cargo group with 8 updates Bumps the cargo group with 8 updates: | Package | From | To | | --- | --- | --- | | [clap](https://github.com/clap-rs/clap) | `4.4.11` | `4.4.12` | | [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) | `0.5.9` | `0.5.10` | | [futures](https://github.com/rust-lang/futures-rs) | `0.3.29` | `0.3.30` | | [reqwest](https://github.com/seanmonstar/reqwest) | `0.11.22` | `0.11.23` | | [serde_json](https://github.com/serde-rs/json) | `1.0.108` | `1.0.109` | | [tokio](https://github.com/tokio-rs/tokio) | `1.35.0` | `1.35.1` | | [clap_mangen](https://github.com/clap-rs/clap) | `0.2.15` | `0.2.16` | | [clap_complete](https://github.com/clap-rs/clap) | `4.4.4` | `4.4.5` | Updates `clap` from 4.4.11 to 4.4.12 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v4.4.11...v4.4.12) Updates `crossbeam-channel` from 0.5.9 to 0.5.10 - [Release notes](https://github.com/crossbeam-rs/crossbeam/releases) - [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md) - [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.9...crossbeam-channel-0.5.10) Updates `futures` from 0.3.29 to 0.3.30 - [Release notes](https://github.com/rust-lang/futures-rs/releases) - [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30) Updates `reqwest` from 0.11.22 to 0.11.23 - [Release notes](https://github.com/seanmonstar/reqwest/releases) - [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md) - [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.22...v0.11.23) Updates `serde_json` from 1.0.108 to 1.0.109 - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.108...v1.0.109) Updates `tokio` from 1.35.0 to 1.35.1 - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.35.0...tokio-1.35.1) Updates `clap_mangen` from 0.2.15 to 0.2.16 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_mangen-v0.2.15...clap_mangen-v0.2.16) Updates `clap_complete` from 4.4.4 to 4.4.5 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.4.4...clap_complete-v4.4.5) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: crossbeam-channel dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: futures dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: reqwest dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: clap_mangen dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: clap_complete dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo ... Signed-off-by: dependabot[bot] <support@github.com> * Use `.first()` instead of `.get(0)` * Update dependencies --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
116 lines
3.5 KiB
TOML
116 lines
3.5 KiB
TOML
[package]
|
|
authors = ["Henrik Friedrichsen <henrik@affekt.org>"]
|
|
description = "ncurses Spotify client written in Rust using librespot, inspired by ncmpc and the likes."
|
|
edition = "2021"
|
|
exclude = ["images/**"]
|
|
keywords = ["spotify", "ncurses", "librespot", "terminal"]
|
|
license = "BSD-2-Clause"
|
|
name = "ncspot"
|
|
readme = "README.md"
|
|
repository = "https://github.com/hrkfdn/ncspot"
|
|
version = "1.0.0"
|
|
|
|
[badges]
|
|
maintenance = {status = "actively-developed"}
|
|
|
|
[workspace]
|
|
members = [
|
|
".",
|
|
"xtask"
|
|
]
|
|
|
|
[profile.release]
|
|
lto = true
|
|
codegen-units = 1
|
|
|
|
[profile.optimized]
|
|
inherits = "release"
|
|
lto = false
|
|
codegen-units = 16
|
|
|
|
[dependencies]
|
|
chrono = "0.4"
|
|
clap = "4.4.12"
|
|
clipboard = {version = "0.5", optional = true}
|
|
crossbeam-channel = "0.5"
|
|
zbus = {version = "3.11.1", default-features = false, features = ["tokio"], optional = true}
|
|
fern = "0.6"
|
|
futures = "0.3"
|
|
ioctl-rs = {version = "0.2", optional = true}
|
|
libc = "0.2.150"
|
|
librespot-core = "0.4.2"
|
|
librespot-playback = "0.4.2"
|
|
librespot-protocol = "0.4.2"
|
|
log = "0.4.16"
|
|
pancurses = {version = "0.17.0", optional = true}
|
|
parse_duration = "2.1.1"
|
|
platform-dirs = "0.3.0"
|
|
rand = "0.8"
|
|
regex = "1"
|
|
reqwest = {version = "0.11", features = ["blocking", "json"]}
|
|
serde = "1.0"
|
|
serde_cbor = "0.11.2"
|
|
serde_json = "1.0"
|
|
strum = "0.25"
|
|
strum_macros = "0.25"
|
|
tokio = {version = "1", features = ["rt-multi-thread", "sync", "time", "net"]}
|
|
tokio-util = {version = "0.7.10", features = ["codec"]}
|
|
tokio-stream = {version = "0.1.14", features = ["sync"]}
|
|
toml = "0.8"
|
|
unicode-width = "0.1.9"
|
|
url = "2.5"
|
|
cursive_buffered_backend = "0.6.1"
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
wl-clipboard-rs = {version = "0.8", optional = true}
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
signal-hook = "0.3.0"
|
|
|
|
[dependencies.rspotify]
|
|
default-features = false
|
|
features = ["client-ureq", "ureq-rustls-tls"]
|
|
version = "0.12.0"
|
|
|
|
[dependencies.cursive]
|
|
default-features = false
|
|
version = "0.20.0"
|
|
|
|
[dependencies.notify-rust]
|
|
default-features = false
|
|
version = "4"
|
|
# Use zbus, which we already depend on, instead of dbus.
|
|
features = ["z"]
|
|
optional = true
|
|
|
|
[features]
|
|
alsa_backend = ["librespot-playback/alsa-backend"]
|
|
cover = ["ioctl-rs"] # Support displaying the album cover
|
|
default = ["share_clipboard", "pulseaudio_backend", "mpris", "notify", "crossterm_backend"]
|
|
mpris = ["zbus"] # Allow ncspot to be controlled via MPRIS API
|
|
ncurses_backend = ["cursive/ncurses-backend"]
|
|
notify = ["notify-rust"] # Show what's playing via a notification
|
|
crossterm_backend = ["cursive/crossterm-backend"]
|
|
pancurses_backend = ["cursive/pancurses-backend", "pancurses/win32"]
|
|
portaudio_backend = ["librespot-playback/portaudio-backend"]
|
|
pulseaudio_backend = ["librespot-playback/pulseaudio-backend"]
|
|
rodio_backend = ["librespot-playback/rodio-backend"]
|
|
share_clipboard = ["clipboard", "wl-clipboard-rs"] # Share a link to the system clipboard
|
|
share_selection = ["clipboard", "wl-clipboard-rs"] # Use the primary selection for sharing - linux and bsd only
|
|
termion_backend = ["cursive/termion-backend"]
|
|
|
|
[package.metadata.deb]
|
|
assets = [
|
|
["target/release/ncspot", "usr/bin/", "755"],
|
|
["misc/ncspot.desktop", "usr/share/applications/", "644"],
|
|
["images/logo.svg", "usr/share/icons/hicolor/scalable/apps/ncspot.svg", "644"],
|
|
["README.md", "usr/share/doc/ncspot/README.md", "644"],
|
|
]
|
|
depends = "$auto"
|
|
extended-description = """\
|
|
ncurses Spotify client written in Rust using librespot. \
|
|
It is heavily inspired by ncurses MPD clients, such as ncmpc."""
|
|
license-file = ["LICENSE"]
|
|
priority = "optional"
|
|
section = "sound"
|