[package]
name = "librespot-audio"
version = "0.1.6"
authors = ["Paul Lietar <paul@lietar.net>"]
description="The audio fetching and processing logic for librespot"
license="MIT"
edition = "2018"

[dependencies.librespot-core]
path = "../core"
version = "0.1.6"

[dependencies]
aes-ctr = "0.6"
byteorder = "1.4"
bytes = "1.0"
cfg-if = "1"
lewton = "0.10"
log = "0.4"
futures-util = { version = "0.3", default_features = false }
ogg = "0.8"
tempfile = "3.1"
tokio = { version = "1", features = ["sync", "macros"] }

librespot-tremor = { version = "0.2.0", optional = true }
vorbis = { version ="0.0.14", optional = true }

[features]
with-tremor = ["librespot-tremor"]
with-vorbis = ["vorbis"]