librespot/playback/Cargo.toml

62 lines
2.1 KiB
TOML
Raw Normal View History

[package]
name = "librespot-playback"
2021-05-04 12:05:13 +00:00
version = "0.2.0"
authors = ["Sasha Hilton <sashahilton00@gmail.com>"]
description = "The audio playback logic for librespot"
license = "MIT"
repository = "https://github.com/librespot-org/librespot"
edition = "2018"
[dependencies.librespot-audio]
path = "../audio"
2021-05-04 12:05:13 +00:00
version = "0.2.0"
[dependencies.librespot-core]
path = "../core"
2021-05-04 12:05:13 +00:00
version = "0.2.0"
[dependencies.librespot-metadata]
path = "../metadata"
2021-05-04 12:05:13 +00:00
version = "0.2.0"
[dependencies]
2021-04-13 08:29:34 +00:00
cfg-if = "1.0"
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"
shell-words = "1.0.0"
tokio = { version = "1", features = ["sync"] }
2021-04-13 08:29:34 +00:00
zerocopy = { version = "0.3" }
2021-03-19 21:28:55 +00:00
alsa = { version = "0.5", optional = true }
portaudio-rs = { version = "0.3", optional = true }
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 }
sdl2 = { version = "0.34.3", optional = true }
gstreamer = { version = "0.16", optional = true }
gstreamer-app = { version = "0.16", optional = true }
glib = { version = "0.10", optional = true }
# Rodio dependencies
2021-05-25 20:35:35 +00:00
rodio = { version = "0.14", 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 }
[features]
alsa-backend = ["alsa"]
portaudio-backend = ["portaudio-rs"]
pulseaudio-backend = ["libpulse-binding", "libpulse-simple-binding"]
jackaudio-backend = ["jack"]
rodio-backend = ["rodio", "cpal", "thiserror"]
rodiojack-backend = ["rodio", "cpal/jack", "thiserror"]
2018-12-28 02:46:27 +00:00
sdl-backend = ["sdl2"]
gstreamer-backend = ["gstreamer", "gstreamer-app", "glib"]
2021-04-13 08:29:34 +00:00
with-tremor = ["librespot-tremor"]
with-vorbis = ["vorbis"]