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"
|
|
|
|
|
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-04-24 14:40:05 +00:00
|
|
|
bit-set = "~0.4.0"
|
|
|
|
byteorder = "~0.5.1"
|
2016-04-17 19:00:00 +00:00
|
|
|
eventual = "~0.1.6"
|
2016-03-07 18:16:43 +00:00
|
|
|
getopts = "~0.2.14"
|
2016-04-24 14:40:05 +00:00
|
|
|
hyper = { version = "0.9.1", default-features = false }
|
2016-03-07 18:16:43 +00:00
|
|
|
#json_macros = "~0.3.0"
|
2016-04-24 14:40:05 +00:00
|
|
|
lazy_static = "~0.2.0"
|
2016-05-04 09:03:46 +00:00
|
|
|
linear-map = "1.0"
|
2016-03-16 04:07:04 +00:00
|
|
|
lmdb-rs = "0.7.0"
|
2016-03-07 18:16:43 +00:00
|
|
|
num = "~0.1.30"
|
|
|
|
protobuf = "~1.0.15"
|
|
|
|
rand = "~0.3.13"
|
2016-04-24 14:40:05 +00:00
|
|
|
rpassword = "~0.2.2"
|
2016-03-07 18:16:43 +00:00
|
|
|
rust-crypto = "~0.2.34"
|
2016-01-01 23:16:12 +00:00
|
|
|
rustc-serialize = "~0.3.16"
|
2016-04-24 14:40:05 +00:00
|
|
|
tempfile = "~2.1.3"
|
2016-03-07 18:16:43 +00:00
|
|
|
time = "~0.1.34"
|
2016-04-25 14:22:22 +00:00
|
|
|
url = "~0.5.0"
|
2016-04-24 08:50:04 +00:00
|
|
|
log = "0.3.5"
|
|
|
|
env_logger = "0.3.2"
|
2016-03-20 16:16:11 +00:00
|
|
|
shannon = { git = "https://github.com/plietar/rust-shannon" }
|
|
|
|
|
2016-03-07 18:16:43 +00:00
|
|
|
vorbis = "~0.0.14"
|
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
|
|
|
|
|
|
|
dns-sd = { version = "~0.1.1", 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-03-16 00:23:17 +00:00
|
|
|
clippy = { version = "*", optional = true }
|
|
|
|
|
2016-03-16 00:05:05 +00:00
|
|
|
openssl = { version = "0.7", optional = true }
|
|
|
|
|
2015-05-09 10:07:24 +00:00
|
|
|
[build-dependencies]
|
2016-03-07 18:16:43 +00:00
|
|
|
vergen = "~0.1.0"
|
2016-05-04 08:37:09 +00:00
|
|
|
syntex = { version = "^0.32.0", optional = true }
|
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" }
|
2015-09-01 11:20:37 +00:00
|
|
|
|
2016-01-02 01:12:07 +00:00
|
|
|
[features]
|
2016-03-20 16:16:11 +00:00
|
|
|
discovery = ["dns-sd"]
|
|
|
|
with-syntex = ["syntex", "protobuf_macros/with-syntex", "json_macros/with-syntex"]
|
|
|
|
with-tremor = ["tremor"]
|
|
|
|
facebook = ["hyper/ssl", "openssl"]
|
|
|
|
portaudio-backend = ["portaudio"]
|
2016-03-20 19:16:32 +00:00
|
|
|
pulseaudio-backend= ["libpulse-sys"]
|
2016-03-20 16:16:11 +00:00
|
|
|
static-appkey = []
|
2016-03-21 15:39:48 +00:00
|
|
|
default = ["with-syntex", "portaudio-backend"]
|