# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "ncspot" version = "1.2.1" authors = ["Henrik Friedrichsen "] build = "build.rs" exclude = ["images/**"] autobins = false autoexamples = false autotests = false autobenches = false description = "ncurses Spotify client written in Rust using librespot, inspired by ncmpc and the likes." readme = "README.md" keywords = [ "spotify", "ncurses", "librespot", "terminal", ] license = "BSD-2-Clause" repository = "https://github.com/hrkfdn/ncspot" [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" [profile.optimized] lto = false codegen-units = 16 inherits = "release" [profile.release] lto = true codegen-units = 1 [lib] name = "ncspot" path = "src/lib.rs" [[bin]] name = "ncspot" path = "src/main.rs" [dependencies.arboard] version = "3.4" optional = true [dependencies.chrono] version = "0.4" [dependencies.clap] version = "4.5.20" [dependencies.crossbeam-channel] version = "0.5" [dependencies.cursive] version = "0.21.1" default-features = false [dependencies.fern] version = "0.7" [dependencies.futures] version = "0.3" [dependencies.ioctl-rs] version = "0.2" optional = true [dependencies.libc] version = "0.2.161" [dependencies.librespot-core] version = "0.6.0" [dependencies.librespot-oauth] version = "0.6.0" [dependencies.librespot-playback] version = "0.6.0" [dependencies.librespot-protocol] version = "0.6.0" [dependencies.log] version = "0.4.22" [dependencies.notify-rust] version = "4" features = ["z"] optional = true default-features = false [dependencies.pancurses] version = "0.17.0" optional = true [dependencies.parse_duration] version = "2.1.1" [dependencies.platform-dirs] version = "0.3.0" [dependencies.rand] version = "0.8" [dependencies.regex] version = "1" [dependencies.reqwest] version = "0.12" features = [ "blocking", "json", ] [dependencies.rspotify] version = "0.13.3" features = [ "client-ureq", "ureq-native-tls", ] default-features = false [dependencies.serde] version = "1.0" [dependencies.serde_cbor] version = "0.11.2" [dependencies.serde_json] version = "1.0" [dependencies.strum] version = "0.26" [dependencies.strum_macros] version = "0.26" [dependencies.tokio] version = "1" features = [ "rt-multi-thread", "sync", "time", "net", ] [dependencies.tokio-stream] version = "0.1.16" features = ["sync"] [dependencies.tokio-util] version = "0.7.12" features = ["codec"] [dependencies.toml] version = "0.8" [dependencies.unicode-width] version = "0.2.0" [dependencies.url] version = "2.5" [dependencies.zbus] version = "5.0.1" features = ["tokio"] optional = true default-features = false [features] alsa_backend = ["librespot-playback/alsa-backend"] cover = ["ioctl-rs"] crossterm_backend = ["cursive/crossterm-backend"] default = [ "share_clipboard", "pulseaudio_backend", "mpris", "notify", "crossterm_backend", ] mpris = ["zbus"] ncurses_backend = ["cursive/ncurses-backend"] notify = ["notify-rust"] 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_selection = [ "arboard", "arboard/wayland-data-control", ] termion_backend = ["cursive/termion-backend"] [target."cfg(unix)".dependencies.signal-hook] version = "0.3.0" [badges.maintenance] status = "actively-developed" [lints.clippy] enum_glob_use = "warn" multiple_inherent_impl = "deny" use_self = "deny"