Bumps the cargo group with 8 updates in the / directory: | Package | From | To | | --- | --- | --- | | [zbus](https://github.com/dbus2/zbus) | `4.4.0` | `5.0.1` | | [fern](https://github.com/daboross/fern) | `0.6.2` | `0.7.0` | | [libc](https://github.com/rust-lang/libc) | `0.2.159` | `0.2.161` | | [regex](https://github.com/rust-lang/regex) | `1.11.0` | `1.11.1` | | [serde](https://github.com/serde-rs/serde) | `1.0.210` | `1.0.213` | | [serde_json](https://github.com/serde-rs/json) | `1.0.128` | `1.0.132` | | [tokio](https://github.com/tokio-rs/tokio) | `1.40.0` | `1.41.0` | | [clap_complete](https://github.com/clap-rs/clap) | `4.5.33` | `4.5.35` | Updates `zbus` from 4.4.0 to 5.0.1 - [Release notes](https://github.com/dbus2/zbus/releases) - [Commits](https://github.com/dbus2/zbus/compare/zbus-4.4.0...zbus-5.0.1) Updates `fern` from 0.6.2 to 0.7.0 - [Release notes](https://github.com/daboross/fern/releases) - [Changelog](https://github.com/daboross/fern/blob/main/CHANGELOG.md) - [Commits](https://github.com/daboross/fern/compare/fern-0.6.2...fern-0.7.0) Updates `libc` from 0.2.159 to 0.2.161 - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.161/CHANGELOG.md) - [Commits](https://github.com/rust-lang/libc/compare/0.2.159...0.2.161) Updates `regex` from 1.11.0 to 1.11.1 - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.11.0...1.11.1) Updates `serde` from 1.0.210 to 1.0.213 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.210...v1.0.213) Updates `serde_json` from 1.0.128 to 1.0.132 - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/1.0.128...1.0.132) Updates `tokio` from 1.40.0 to 1.41.0 - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.40.0...tokio-1.41.0) Updates `clap_complete` from 4.5.33 to 4.5.35 - [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.5.33...clap_complete-v4.5.35) --- updated-dependencies: - dependency-name: zbus dependency-type: direct:production update-type: version-update:semver-major dependency-group: cargo - dependency-name: fern dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo - dependency-name: libc dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: regex dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: serde 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-minor 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>
121 lines
3.5 KiB
TOML
121 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.2.0"
|
|
|
|
[badges]
|
|
maintenance = {status = "actively-developed"}
|
|
|
|
[workspace]
|
|
members = [
|
|
".",
|
|
"xtask"
|
|
]
|
|
|
|
[workspace.lints.clippy]
|
|
enum_glob_use = "warn"
|
|
use_self = "deny"
|
|
multiple_inherent_impl = "deny"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[profile.release]
|
|
lto = true
|
|
codegen-units = 1
|
|
|
|
[profile.optimized]
|
|
inherits = "release"
|
|
lto = false
|
|
codegen-units = 16
|
|
|
|
[dependencies]
|
|
chrono = "0.4"
|
|
clap = "4.5.20"
|
|
arboard = {version = "3.4", optional = true}
|
|
crossbeam-channel = "0.5"
|
|
zbus = {version = "5.0.1", default-features = false, features = ["tokio"], optional = true}
|
|
fern = "0.7"
|
|
futures = "0.3"
|
|
ioctl-rs = {version = "0.2", optional = true}
|
|
libc = "0.2.161"
|
|
librespot-core = "0.5.0"
|
|
librespot-oauth = "0.5.0"
|
|
librespot-playback = "0.5.0"
|
|
librespot-protocol = "0.5.0"
|
|
log = "0.4.22"
|
|
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.12", features = ["blocking", "json"]}
|
|
serde = "1.0"
|
|
serde_cbor = "0.11.2"
|
|
serde_json = "1.0"
|
|
strum = "0.26"
|
|
strum_macros = "0.26"
|
|
tokio = {version = "1", features = ["rt-multi-thread", "sync", "time", "net"]}
|
|
tokio-util = {version = "0.7.12", features = ["codec"]}
|
|
tokio-stream = {version = "0.1.16", features = ["sync"]}
|
|
toml = "0.8"
|
|
unicode-width = "0.2.0"
|
|
url = "2.5"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
signal-hook = "0.3.0"
|
|
|
|
[dependencies.rspotify]
|
|
default-features = false
|
|
features = ["client-ureq", "ureq-native-tls"]
|
|
version = "0.13.3"
|
|
|
|
[dependencies.cursive]
|
|
default-features = false
|
|
version = "0.21.1"
|
|
|
|
[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 = ["arboard", "arboard/wayland-data-control"] # Share a link to the system clipboard
|
|
share_selection = ["arboard", "arboard/wayland-data-control"] # 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"
|