2018-02-09 01:05:50 +00:00
|
|
|
[package]
|
|
|
|
name = "librespot-playback"
|
2021-02-22 00:37:28 +00:00
|
|
|
version = "0.1.6"
|
2018-02-09 01:05:50 +00:00
|
|
|
authors = ["Sasha Hilton <sashahilton00@gmail.com>"]
|
2020-11-26 19:31:51 +00:00
|
|
|
description = "The audio playback logic for librespot"
|
|
|
|
license = "MIT"
|
2020-11-26 19:30:37 +00:00
|
|
|
repository = "https://github.com/librespot-org/librespot"
|
2020-01-17 18:09:10 +00:00
|
|
|
edition = "2018"
|
2018-02-09 01:05:50 +00:00
|
|
|
|
|
|
|
[dependencies.librespot-audio]
|
|
|
|
path = "../audio"
|
2021-02-22 00:37:28 +00:00
|
|
|
version = "0.1.6"
|
2018-02-09 01:05:50 +00:00
|
|
|
[dependencies.librespot-core]
|
|
|
|
path = "../core"
|
2021-02-22 00:37:28 +00:00
|
|
|
version = "0.1.6"
|
2018-02-09 01:05:50 +00:00
|
|
|
[dependencies.librespot-metadata]
|
|
|
|
path = "../metadata"
|
2021-02-22 00:37:28 +00:00
|
|
|
version = "0.1.6"
|
2018-02-09 01:05:50 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2021-02-22 08:55:40 +00:00
|
|
|
futures-executor = { version = "0.3", default_features = false }
|
2021-02-22 08:58:08 +00:00
|
|
|
futures-util = { version = "0.3", default_features = false, features = ["alloc"] }
|
2019-07-08 08:08:32 +00:00
|
|
|
log = "0.4"
|
2021-01-21 21:22:32 +00:00
|
|
|
byteorder = "1.4"
|
2020-11-27 03:24:41 +00:00
|
|
|
shell-words = "1.0.0"
|
2021-02-22 08:55:40 +00:00
|
|
|
tokio = { version = "1", features = ["sync"] }
|
2018-02-09 01:05:50 +00:00
|
|
|
|
2021-01-31 02:50:20 +00:00
|
|
|
alsa = { version = "0.4", optional = true }
|
2020-04-07 03:29:29 +00:00
|
|
|
portaudio-rs = { version = "0.3", optional = true }
|
2020-11-27 01:06:25 +00:00
|
|
|
libpulse-binding = { version = "2.13", optional = true, default-features = false }
|
|
|
|
libpulse-simple-binding = { version = "2.13", optional = true, default-features = false }
|
2020-11-27 04:55:47 +00:00
|
|
|
jack = { version = "0.6", optional = true }
|
2018-02-09 01:05:50 +00:00
|
|
|
libc = { version = "0.2", optional = true }
|
2020-11-27 05:17:38 +00:00
|
|
|
sdl2 = { version = "0.34", optional = true }
|
2020-11-27 04:02:48 +00:00
|
|
|
gstreamer = { version = "0.16", optional = true }
|
|
|
|
gstreamer-app = { version = "0.16", optional = true }
|
|
|
|
glib = { version = "0.10", optional = true }
|
2020-11-27 05:00:15 +00:00
|
|
|
zerocopy = { version = "0.3", optional = true }
|
2018-02-09 01:05:50 +00:00
|
|
|
|
2021-02-12 17:25:13 +00:00
|
|
|
# Rodio dependencies
|
|
|
|
rodio = { version = "0.13", optional = true, default-features = false }
|
|
|
|
cpal = { version = "0.13", optional = true }
|
|
|
|
thiserror = { version = "1", optional = true }
|
|
|
|
|
2018-02-09 01:05:50 +00:00
|
|
|
[features]
|
|
|
|
alsa-backend = ["alsa"]
|
|
|
|
portaudio-backend = ["portaudio-rs"]
|
2020-11-27 01:06:25 +00:00
|
|
|
pulseaudio-backend = ["libpulse-binding", "libpulse-simple-binding"]
|
2018-02-09 01:05:50 +00:00
|
|
|
jackaudio-backend = ["jack"]
|
2021-02-12 17:25:13 +00:00
|
|
|
rodio-backend = ["rodio", "cpal", "thiserror"]
|
2021-02-23 14:05:02 +00:00
|
|
|
rodiojack-backend = ["rodio", "cpal/jack", "thiserror"]
|
2018-12-28 02:46:27 +00:00
|
|
|
sdl-backend = ["sdl2"]
|
2020-07-29 15:23:41 +00:00
|
|
|
gstreamer-backend = ["gstreamer", "gstreamer-app", "glib", "zerocopy"]
|