Bumps the cargo group with 2 updates: [libc](https://github.com/rust-lang/libc) and [log](https://github.com/rust-lang/log). Updates `libc` from 0.2.177 to 0.2.178 - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.178/CHANGELOG.md) - [Commits](https://github.com/rust-lang/libc/compare/0.2.177...0.2.178) Updates `log` from 0.4.28 to 0.4.29 - [Release notes](https://github.com/rust-lang/log/releases) - [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/log/compare/0.4.28...0.4.29) --- updated-dependencies: - dependency-name: libc dependency-version: 0.2.178 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: log dependency-version: 0.4.29 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo ... Signed-off-by: dependabot[bot] <support@github.com>
127 lines
3.7 KiB
TOML
127 lines
3.7 KiB
TOML
[package]
|
|
name = "ncspot"
|
|
readme = "README.md"
|
|
version = "1.3.2"
|
|
description = "ncurses Spotify client written in Rust using librespot, inspired by ncmpc and the likes."
|
|
exclude = ["images/**"]
|
|
keywords = ["spotify", "ncurses", "librespot", "terminal"]
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
|
|
[badges]
|
|
maintenance = {status = "actively-developed"}
|
|
|
|
[workspace]
|
|
members = [
|
|
".",
|
|
"xtask"
|
|
]
|
|
|
|
[workspace.package]
|
|
authors = ["Henrik Friedrichsen <henrik@affekt.org>"]
|
|
edition = "2024"
|
|
license = "BSD-2-Clause"
|
|
repository = "https://github.com/hrkfdn/ncspot"
|
|
|
|
[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.53"
|
|
arboard = {version = "3.6", optional = true}
|
|
crossbeam-channel = "0.5"
|
|
zbus = {version = "5.11.0", default-features = false, features = ["tokio"], optional = true}
|
|
fern = "0.7"
|
|
futures = "0.3"
|
|
ioctl-rs = {version = "0.2", optional = true}
|
|
libc = "0.2.178"
|
|
librespot-core = "0.8.0"
|
|
librespot-oauth = "0.8.0"
|
|
librespot-playback = {version = "0.8.0", default-features = false, features = ["native-tls"]}
|
|
librespot-protocol = "0.8.0"
|
|
log = "0.4.29"
|
|
pancurses = {version = "0.17.0", optional = true}
|
|
parse_duration = "2.1.1"
|
|
platform-dirs = "0.3.0"
|
|
rand = "0.9"
|
|
regex = "1"
|
|
reqwest = {version = "0.12", features = ["blocking", "json"]}
|
|
serde = "1.0"
|
|
serde_cbor = "0.11.2"
|
|
serde_json = "1.0"
|
|
strum = "0.27"
|
|
strum_macros = "0.27"
|
|
tokio = {version = "1", features = ["rt-multi-thread", "sync", "time", "net"]}
|
|
tokio-util = {version = "0.7.16", features = ["codec"]}
|
|
tokio-stream = {version = "0.1.17", features = ["sync"]}
|
|
toml = "0.9"
|
|
unicode-width = "0.2.2"
|
|
url = "2.5"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
signal-hook = "0.3.18"
|
|
|
|
[dependencies.rspotify]
|
|
default-features = false
|
|
features = ["client-ureq", "ureq-native-tls"]
|
|
version = "0.15.0"
|
|
|
|
[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"
|