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
|
|
|
|
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"
|
|
|
|
|
2015-05-09 10:07:24 +00:00
|
|
|
[dependencies.librespot-protocol]
|
|
|
|
path = "protocol"
|
2015-04-25 20:32:07 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2016-12-31 11:51:44 +00:00
|
|
|
bit-set = "0.4.0"
|
|
|
|
byteorder = "1.0"
|
|
|
|
ctrlc = { version = "2.0", features = ["termination"] }
|
|
|
|
env_logger = "0.3.2"
|
|
|
|
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"
|
|
|
|
rust-crypto = "0.2.34"
|
|
|
|
rustc-serialize = "0.3.16"
|
2017-01-29 12:50:18 +00:00
|
|
|
serde = "0.9"
|
|
|
|
serde_json = "0.9"
|
|
|
|
serde_derive = { version = "0.9", optional = true }
|
2016-03-20 16:16:11 +00:00
|
|
|
shannon = { git = "https://github.com/plietar/rust-shannon" }
|
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 }
|
2016-03-20 16:16:11 +00:00
|
|
|
portaudio = { git = "https://github.com/mvdnes/portaudio-rs", 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
|
|
|
|
|
|
|
protobuf_macros = { git = "https://github.com/plietar/rust-protobuf-macros" }
|
2015-05-09 10:07:24 +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-01-18 15:17:10 +00:00
|
|
|
error-chain = "0.7.0"
|
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-01-18 05:57:36 +00:00
|
|
|
|
2015-05-09 10:07:24 +00:00
|
|
|
[build-dependencies]
|
2016-12-31 11:51:44 +00:00
|
|
|
vergen = "0.1.0"
|
2016-03-07 18:16:43 +00:00
|
|
|
protobuf_macros = { git = "https://github.com/plietar/rust-protobuf-macros" }
|
2017-01-29 12:50:18 +00:00
|
|
|
serde_codegen = { version = "0.9", optional = true }
|
2015-09-01 11:20:37 +00:00
|
|
|
|
2016-01-02 01:12:07 +00:00
|
|
|
[features]
|
2017-01-29 12:50:18 +00:00
|
|
|
with-syntex = ["serde_codegen", "protobuf_macros/with-syntex"]
|
|
|
|
nightly = ["serde_derive"]
|
2016-05-07 11:55:59 +00:00
|
|
|
|
2016-03-20 16:16:11 +00:00
|
|
|
with-tremor = ["tremor"]
|
2016-03-14 02:16:59 +00:00
|
|
|
alsa-backend = ["alsa"]
|
2016-03-20 16:16:11 +00:00
|
|
|
portaudio-backend = ["portaudio"]
|
2016-03-20 19:16:32 +00:00
|
|
|
pulseaudio-backend= ["libpulse-sys"]
|
2016-03-21 15:39:48 +00:00
|
|
|
default = ["with-syntex", "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"],
|
|
|
|
["assets/librespot.service", "lib/systemd/system/", "644"]
|
2016-08-05 11:08:32 +00:00
|
|
|
]
|