librespot/Cargo.toml

92 lines
2.4 KiB
TOML
Raw Normal View History

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"
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]
[lib]
name = "librespot"
path = "src/lib.rs"
[[bin]]
name = "librespot"
path = "src/main.rs"
doc = false
2017-08-03 19:37:04 +00:00
[dependencies.librespot-audio]
path = "audio"
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]
base64 = "0.5.0"
env_logger = "0.4.0"
futures = "0.1.8"
getopts = "0.2.14"
hyper = "0.11.2"
log = "0.3.5"
mdns = { git = "https://github.com/plietar/rust-mdns" }
num-bigint = "0.1.35"
protobuf = "1.1"
rand = "0.3.13"
rpassword = "0.3.0"
rust-crypto = { git = "https://github.com/awmath/rust-crypto.git", branch = "avx2" }
serde = "0.9.6"
serde_derive = "0.9.6"
serde_json = "0.9.5"
tokio-core = "0.1.2"
tokio-io = "0.1"
tokio-signal = "0.1.2"
url = "1.3"
2016-03-14 02:16:59 +00:00
alsa = { git = "https://github.com/plietar/rust-alsa", optional = true }
portaudio-rs = { version = "0.3.0", optional = true }
libpulse-sys = { version = "0.0.0", optional = true }
libc = { version = "0.2", optional = true }
2018-01-31 11:00:53 +00:00
dns-sd = { version = "0.1.3", optional = true }
[build-dependencies]
rand = "0.3.13"
vergen = "0.1.0"
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]
alsa-backend = ["alsa"]
portaudio-backend = ["portaudio-rs"]
pulseaudio-backend = ["libpulse-sys", "libc"]
with-tremor = ["librespot-audio/with-tremor"]
with-lewton = ["librespot-audio/with-lewton"]
2018-01-31 11:00:53 +00:00
with-dns-sd = ["dns-sd"]
default = ["portaudio-backend"]
[package.metadata.deb]
2018-01-31 11:00:53 +00:00
maintainer = "librespot-org"
copyright = "2018 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 = [
["target/release/librespot", "usr/bin/", "755"],
2017-02-16 21:38:48 +00:00
["contrib/librespot.service", "lib/systemd/system/", "644"]
]