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"
|
2017-01-30 10:54:54 +00:00
|
|
|
doc = false
|
2015-07-08 18:28:17 +00:00
|
|
|
|
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"
|
|
|
|
eventual = "0.1.6"
|
|
|
|
getopts = "0.2.14"
|
2016-04-24 14:40:05 +00:00
|
|
|
hyper = { version = "0.9.1", default-features = false }
|
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-08-08 19:50:05 +00:00
|
|
|
lmdb-rs = "0.7.2"
|
2016-04-24 08:50:04 +00:00
|
|
|
log = "0.3.5"
|
2016-12-31 11:51:44 +00:00
|
|
|
num = "0.1.30"
|
|
|
|
protobuf = "1.0.15"
|
|
|
|
rand = "0.3.13"
|
|
|
|
rpassword = "0.3.0"
|
|
|
|
rust-crypto = "0.2.34"
|
|
|
|
rustc-serialize = "0.3.16"
|
|
|
|
serde = "0.8"
|
|
|
|
serde_json = "0.8"
|
|
|
|
serde_macros = { version = "0.8", 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"
|
|
|
|
url = "0.5.0"
|
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
|
|
|
|
|
|
|
json_macros = { git = "https://github.com/plietar/json_macros" }
|
|
|
|
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
|
|
|
|
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" }
|
|
|
|
json_macros = { git = "https://github.com/plietar/json_macros" }
|
2016-12-31 11:51:44 +00:00
|
|
|
serde_codegen = { version = "0.8", optional = true }
|
2015-09-01 11:20:37 +00:00
|
|
|
|
2016-01-02 01:12:07 +00:00
|
|
|
[features]
|
2016-07-06 01:29:38 +00:00
|
|
|
with-syntex = ["serde_codegen", "protobuf_macros/with-syntex", "json_macros/with-syntex"]
|
|
|
|
nightly = ["serde_macros"]
|
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"],
|
2017-02-16 21:38:48 +00:00
|
|
|
["contrib/librespot.service", "lib/systemd/system/", "644"]
|
2016-08-05 11:08:32 +00:00
|
|
|
]
|