2018-02-09 01:05:50 +00:00
|
|
|
[package]
|
|
|
|
name = "librespot-playback"
|
2021-05-04 12:05:13 +00:00
|
|
|
version = "0.2.0"
|
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-05-04 12:05:13 +00:00
|
|
|
version = "0.2.0"
|
2018-02-09 01:05:50 +00:00
|
|
|
[dependencies.librespot-core]
|
|
|
|
path = "../core"
|
2021-05-04 12:05:13 +00:00
|
|
|
version = "0.2.0"
|
2018-02-09 01:05:50 +00:00
|
|
|
[dependencies.librespot-metadata]
|
|
|
|
path = "../metadata"
|
2021-05-04 12:05:13 +00:00
|
|
|
version = "0.2.0"
|
2018-02-09 01:05:50 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2021-04-13 08:29:34 +00:00
|
|
|
cfg-if = "1.0"
|
2021-02-21 18:38:49 +00:00
|
|
|
futures-executor = "0.3"
|
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"] }
|
2021-04-13 08:29:34 +00:00
|
|
|
zerocopy = { version = "0.3" }
|
2018-02-09 01:05:50 +00:00
|
|
|
|
2021-03-19 21:28:55 +00:00
|
|
|
alsa = { version = "0.5", optional = true }
|
2020-04-07 03:29:29 +00:00
|
|
|
portaudio-rs = { version = "0.3", optional = true }
|
2021-03-27 20:13:14 +00:00
|
|
|
libpulse-binding = { version = "2", optional = true, default-features = false }
|
|
|
|
libpulse-simple-binding = { version = "2", optional = true, default-features = false }
|
2021-05-09 21:03:25 +00:00
|
|
|
jack = { version = "0.7", optional = true }
|
2021-04-09 18:01:21 +00:00
|
|
|
sdl2 = { version = "0.34.3", 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 }
|
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 }
|
|
|
|
|
2021-04-13 08:29:34 +00:00
|
|
|
# Decoders
|
|
|
|
lewton = "0.10" # Currently not optional because of limitations of cargo features
|
|
|
|
librespot-tremor = { version = "0.2", optional = true }
|
|
|
|
ogg = "0.8"
|
|
|
|
vorbis = { version ="0.0", 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"]
|
2021-04-09 18:01:21 +00:00
|
|
|
gstreamer-backend = ["gstreamer", "gstreamer-app", "glib"]
|
2021-04-13 08:29:34 +00:00
|
|
|
|
|
|
|
with-tremor = ["librespot-tremor"]
|
|
|
|
with-vorbis = ["vorbis"]
|