2015-04-25 20:32:07 +00:00
|
|
|
[package]
|
|
|
|
name = "librespot"
|
2024-10-31 22:14:13 +00:00
|
|
|
version = "0.6.0-dev"
|
2024-10-26 14:45:02 +00:00
|
|
|
rust-version = "1.75"
|
2019-11-06 16:08:22 +00:00
|
|
|
authors = ["Librespot Org"]
|
2016-08-05 11:08:32 +00:00
|
|
|
license = "MIT"
|
2019-11-06 16:25:10 +00:00
|
|
|
description = "An open source client library for Spotify, with support for Spotify Connect"
|
2016-08-05 11:08:32 +00:00
|
|
|
keywords = ["spotify"]
|
2019-11-06 16:08:22 +00:00
|
|
|
repository = "https://github.com/librespot-org/librespot"
|
2016-08-05 11:08:32 +00:00
|
|
|
readme = "README.md"
|
2022-08-02 19:42:38 +00:00
|
|
|
edition = "2021"
|
2015-04-25 20:32:07 +00:00
|
|
|
|
2017-08-03 18:58:44 +00:00
|
|
|
[workspace]
|
|
|
|
|
2015-07-08 18:28:17 +00:00
|
|
|
[lib]
|
|
|
|
name = "librespot"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
2021-02-21 10:08:34 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "librespot"
|
|
|
|
path = "src/main.rs"
|
|
|
|
doc = false
|
2015-07-08 18:28:17 +00:00
|
|
|
|
2017-08-03 19:37:04 +00:00
|
|
|
[dependencies.librespot-audio]
|
|
|
|
path = "audio"
|
2024-10-31 22:14:13 +00:00
|
|
|
version = "0.6.0-dev"
|
2021-01-22 23:02:49 +00:00
|
|
|
|
2021-02-19 23:17:18 +00:00
|
|
|
[dependencies.librespot-connect]
|
|
|
|
path = "connect"
|
2024-10-31 22:14:13 +00:00
|
|
|
version = "0.6.0-dev"
|
2021-01-22 23:02:49 +00:00
|
|
|
|
2017-08-03 18:58:44 +00:00
|
|
|
[dependencies.librespot-core]
|
|
|
|
path = "core"
|
2024-10-31 22:14:13 +00:00
|
|
|
version = "0.6.0-dev"
|
2021-01-22 23:02:49 +00:00
|
|
|
|
2021-02-28 23:10:13 +00:00
|
|
|
[dependencies.librespot-discovery]
|
|
|
|
path = "discovery"
|
2024-10-31 22:14:13 +00:00
|
|
|
version = "0.6.0-dev"
|
2024-10-26 14:45:02 +00:00
|
|
|
default-features = false
|
2021-02-28 23:10:13 +00:00
|
|
|
|
2017-08-03 19:10:48 +00:00
|
|
|
[dependencies.librespot-metadata]
|
|
|
|
path = "metadata"
|
2024-10-31 22:14:13 +00:00
|
|
|
version = "0.6.0-dev"
|
2021-01-22 23:02:49 +00:00
|
|
|
|
2018-02-09 01:05:50 +00:00
|
|
|
[dependencies.librespot-playback]
|
|
|
|
path = "playback"
|
2024-10-31 22:14:13 +00:00
|
|
|
version = "0.6.0-dev"
|
2021-01-22 23:02:49 +00:00
|
|
|
|
2017-08-03 19:10:48 +00:00
|
|
|
[dependencies.librespot-protocol]
|
|
|
|
path = "protocol"
|
2024-10-31 22:14:13 +00:00
|
|
|
version = "0.6.0-dev"
|
2017-08-03 18:58:44 +00:00
|
|
|
|
2024-09-13 05:35:55 +00:00
|
|
|
[dependencies.librespot-oauth]
|
|
|
|
path = "oauth"
|
2024-10-31 22:14:13 +00:00
|
|
|
version = "0.6.0-dev"
|
2024-09-13 05:35:55 +00:00
|
|
|
|
2021-02-21 10:08:34 +00:00
|
|
|
[dependencies]
|
2023-12-01 16:38:59 +00:00
|
|
|
data-encoding = "2.5"
|
2024-02-23 22:05:41 +00:00
|
|
|
env_logger = { version = "0.11.2", default-features = false, features = ["color", "humantime", "auto-color"] }
|
2024-08-24 16:31:34 +00:00
|
|
|
futures-util = { version = "0.3", default-features = false }
|
2022-01-09 15:04:53 +00:00
|
|
|
getopts = "0.2"
|
2021-02-21 10:08:34 +00:00
|
|
|
log = "0.4"
|
2022-07-27 21:31:11 +00:00
|
|
|
sha1 = "0.10"
|
2024-08-27 21:16:48 +00:00
|
|
|
sysinfo = { version = "0.31.3", default-features = false, features = ["system"] }
|
2021-04-13 13:16:48 +00:00
|
|
|
thiserror = "1.0"
|
2024-10-26 14:45:02 +00:00
|
|
|
tokio = { version = "1.40", features = ["rt", "macros", "signal", "sync", "parking_lot", "process"] }
|
2021-05-09 07:53:20 +00:00
|
|
|
url = "2.2"
|
2021-02-21 10:08:34 +00:00
|
|
|
|
2016-01-02 01:12:07 +00:00
|
|
|
[features]
|
2018-02-09 01:14:11 +00:00
|
|
|
alsa-backend = ["librespot-playback/alsa-backend"]
|
|
|
|
portaudio-backend = ["librespot-playback/portaudio-backend"]
|
|
|
|
pulseaudio-backend = ["librespot-playback/pulseaudio-backend"]
|
|
|
|
jackaudio-backend = ["librespot-playback/jackaudio-backend"]
|
2019-03-20 13:24:03 +00:00
|
|
|
rodio-backend = ["librespot-playback/rodio-backend"]
|
2021-02-23 14:05:02 +00:00
|
|
|
rodiojack-backend = ["librespot-playback/rodiojack-backend"]
|
2018-12-28 02:46:27 +00:00
|
|
|
sdl-backend = ["librespot-playback/sdl-backend"]
|
2019-12-25 11:19:12 +00:00
|
|
|
gstreamer-backend = ["librespot-playback/gstreamer-backend"]
|
2017-02-09 01:27:52 +00:00
|
|
|
|
2024-10-26 14:45:02 +00:00
|
|
|
with-avahi = ["librespot-discovery/with-avahi"]
|
|
|
|
with-dns-sd = ["librespot-discovery/with-dns-sd"]
|
|
|
|
with-libmdns = ["librespot-discovery/with-libmdns"]
|
2018-01-31 11:00:53 +00:00
|
|
|
|
2022-01-25 19:46:10 +00:00
|
|
|
passthrough-decoder = ["librespot-playback/passthrough-decoder"]
|
2018-01-31 11:00:53 +00:00
|
|
|
|
2024-10-26 14:45:02 +00:00
|
|
|
default = ["rodio-backend", "with-libmdns"]
|
2016-08-05 11:08:32 +00:00
|
|
|
|
|
|
|
[package.metadata.deb]
|
2018-01-31 11:00:53 +00:00
|
|
|
maintainer = "librespot-org"
|
|
|
|
copyright = "2018 Paul Liétar"
|
2020-06-22 14:36:36 +00:00
|
|
|
license-file = ["LICENSE", "4"]
|
2016-08-05 11:08:32 +00:00
|
|
|
depends = "$auto"
|
2020-06-22 14:36:36 +00:00
|
|
|
extended-description = """\
|
2016-08-05 11:08:32 +00:00
|
|
|
librespot is an open source client library for Spotify. It enables applications \
|
|
|
|
to use Spotify's service, without using the official but closed-source \
|
|
|
|
libspotify. Additionally, it will provide extra features which are not \
|
|
|
|
available in the official library."""
|
|
|
|
section = "sound"
|
|
|
|
priority = "optional"
|
|
|
|
assets = [
|
2016-12-21 22:21:40 +00:00
|
|
|
["target/release/librespot", "usr/bin/", "755"],
|
2021-06-18 09:40:44 +00:00
|
|
|
["contrib/librespot.service", "lib/systemd/system/", "644"],
|
|
|
|
["contrib/librespot.user.service", "lib/systemd/user/", "644"]
|
2016-08-05 11:08:32 +00:00
|
|
|
]
|
2024-10-17 15:01:56 +00:00
|
|
|
|
|
|
|
[workspace.package]
|
2024-10-31 22:14:13 +00:00
|
|
|
rust-version = "1.75"
|