2015-04-25 20:32:07 +00:00
|
|
|
[package]
|
|
|
|
name = "librespot"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Paul Liétar <paul@lietar.net>"]
|
|
|
|
build = "build.rs"
|
2016-08-05 11:08:32 +00:00
|
|
|
license = "MIT"
|
|
|
|
description = "Open Source Spotify client library"
|
|
|
|
keywords = ["spotify"]
|
|
|
|
repository = "https://github.com/plietar/librespot"
|
|
|
|
readme = "README.md"
|
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"
|
|
|
|
|
|
|
|
[[bin]]
|
2016-01-03 17:17:05 +00:00
|
|
|
name = "librespot"
|
2015-07-08 18:28:17 +00:00
|
|
|
path = "src/main.rs"
|
2017-01-30 10:54:54 +00:00
|
|
|
doc = false
|
2015-07-08 18:28:17 +00:00
|
|
|
|
2017-08-03 18:58:44 +00:00
|
|
|
[dependencies.librespot-core]
|
|
|
|
path = "core"
|
2017-08-03 19:10:48 +00:00
|
|
|
[dependencies.librespot-metadata]
|
|
|
|
path = "metadata"
|
|
|
|
[dependencies.librespot-protocol]
|
|
|
|
path = "protocol"
|
2017-08-03 18:58:44 +00:00
|
|
|
|
2015-04-25 20:32:07 +00:00
|
|
|
[dependencies]
|
2017-05-10 15:26:48 +00:00
|
|
|
base64 = "0.5.0"
|
2016-12-31 11:51:44 +00:00
|
|
|
bit-set = "0.4.0"
|
|
|
|
byteorder = "1.0"
|
2017-02-09 01:27:52 +00:00
|
|
|
env_logger = "0.4.0"
|
2016-12-31 11:51:44 +00:00
|
|
|
getopts = "0.2.14"
|
2017-01-18 15:17:10 +00:00
|
|
|
hyper = { git = "https://github.com/hyperium/hyper" }
|
2016-12-31 11:51:44 +00:00
|
|
|
lazy_static = "0.2.0"
|
2016-05-04 09:03:46 +00:00
|
|
|
linear-map = "1.0"
|
2016-04-24 08:50:04 +00:00
|
|
|
log = "0.3.5"
|
2017-01-29 12:50:18 +00:00
|
|
|
num-bigint = "0.1.35"
|
|
|
|
num-integer = "0.1.32"
|
|
|
|
num-traits = "0.1.36"
|
2017-01-18 15:17:10 +00:00
|
|
|
protobuf = "1.1"
|
2016-12-31 11:51:44 +00:00
|
|
|
rand = "0.3.13"
|
|
|
|
rpassword = "0.3.0"
|
2017-06-29 14:45:53 +00:00
|
|
|
rust-crypto = { git = "https://github.com/awmath/rust-crypto.git", branch = "avx2" }
|
2017-02-09 01:27:52 +00:00
|
|
|
serde = "0.9.6"
|
|
|
|
serde_json = "0.9.5"
|
|
|
|
serde_derive = "0.9.6"
|
2017-02-22 14:48:41 +00:00
|
|
|
shannon = "0.2.0"
|
2016-12-31 11:51:44 +00:00
|
|
|
tempfile = "2.1"
|
2017-01-18 15:17:10 +00:00
|
|
|
url = "1.3"
|
2016-03-20 16:16:11 +00:00
|
|
|
|
2016-12-31 11:51:44 +00:00
|
|
|
vorbis = "0.1.0"
|
2016-03-20 16:16:11 +00:00
|
|
|
tremor = { git = "https://github.com/plietar/rust-tremor", optional = true }
|
2016-03-07 18:16:43 +00:00
|
|
|
|
2016-03-14 02:16:59 +00:00
|
|
|
alsa = { git = "https://github.com/plietar/rust-alsa", optional = true }
|
2017-04-29 10:41:48 +00:00
|
|
|
portaudio-rs = { version = "0.3.0", optional = true }
|
2016-04-24 08:50:04 +00:00
|
|
|
libpulse-sys = { git = "https://github.com/astro/libpulse-sys", optional = true }
|
2016-03-07 18:16:43 +00:00
|
|
|
|
2016-10-26 10:43:16 +00:00
|
|
|
mdns = { git = "https://github.com/plietar/rust-mdns" }
|
2016-05-07 11:55:59 +00:00
|
|
|
|
2017-02-21 22:08:42 +00:00
|
|
|
error-chain = { version = "0.9.0", default_features = false }
|
2017-01-18 05:57:36 +00:00
|
|
|
futures = "0.1.8"
|
|
|
|
tokio-core = "0.1.2"
|
2017-01-18 15:17:10 +00:00
|
|
|
tokio-proto = "0.1.0"
|
2017-02-22 04:17:04 +00:00
|
|
|
tokio-signal = "0.1"
|
2017-04-28 22:24:55 +00:00
|
|
|
uuid = { version = "0.4", features = ["v4"] }
|
2017-01-18 05:57:36 +00:00
|
|
|
|
2015-05-09 10:07:24 +00:00
|
|
|
[build-dependencies]
|
2017-07-17 12:31:06 +00:00
|
|
|
rand = "0.3.13"
|
2016-12-31 11:51:44 +00:00
|
|
|
vergen = "0.1.0"
|
2017-02-09 01:27:52 +00:00
|
|
|
protobuf_macros = { git = "https://github.com/plietar/rust-protobuf-macros", features = ["with-syntex"] }
|
2015-09-01 11:20:37 +00:00
|
|
|
|
2016-01-02 01:12:07 +00:00
|
|
|
[features]
|
2017-02-09 01:27:52 +00:00
|
|
|
alsa-backend = ["alsa"]
|
2017-04-29 10:41:48 +00:00
|
|
|
portaudio-backend = ["portaudio-rs"]
|
2017-02-09 01:27:52 +00:00
|
|
|
pulseaudio-backend = ["libpulse-sys"]
|
|
|
|
|
|
|
|
with-tremor = ["tremor"]
|
|
|
|
|
|
|
|
default = ["portaudio-backend"]
|
2016-08-05 11:08:32 +00:00
|
|
|
|
|
|
|
[package.metadata.deb]
|
|
|
|
maintainer = "nobody"
|
|
|
|
copyright = "2016 Paul Liétar"
|
|
|
|
license_file = ["LICENSE", "4"]
|
|
|
|
depends = "$auto"
|
|
|
|
extended_description = """\
|
|
|
|
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"],
|
2017-02-16 21:38:48 +00:00
|
|
|
["contrib/librespot.service", "lib/systemd/system/", "644"]
|
2016-08-05 11:08:32 +00:00
|
|
|
]
|