librespot/Cargo.toml

96 lines
2.5 KiB
TOML
Raw Normal View History

2015-04-25 20:32:07 +00:00
[package]
name = "librespot"
2022-05-21 20:31:15 +00:00
version = "0.4.0"
authors = ["Librespot Org"]
license = "MIT"
2019-11-06 16:25:10 +00:00
description = "An open source client library for Spotify, with support for Spotify Connect"
keywords = ["spotify"]
repository = "https://github.com/librespot-org/librespot"
readme = "README.md"
2020-01-17 14:35:46 +00:00
edition = "2018"
2015-04-25 20:32:07 +00:00
2017-08-03 18:58:44 +00:00
[workspace]
[lib]
name = "librespot"
path = "src/lib.rs"
2021-02-21 10:08:34 +00:00
[[bin]]
name = "librespot"
path = "src/main.rs"
doc = false
2017-08-03 19:37:04 +00:00
[dependencies.librespot-audio]
path = "audio"
2022-05-21 20:31:15 +00:00
version = "0.4.0"
2021-01-22 23:02:49 +00:00
2021-02-19 23:17:18 +00:00
[dependencies.librespot-connect]
path = "connect"
2022-05-21 20:31:15 +00:00
version = "0.4.0"
2021-01-22 23:02:49 +00:00
2017-08-03 18:58:44 +00:00
[dependencies.librespot-core]
path = "core"
2022-05-21 20:31:15 +00:00
version = "0.4.0"
2021-01-22 23:02:49 +00:00
2021-02-28 23:10:13 +00:00
[dependencies.librespot-discovery]
path = "discovery"
2022-05-21 20:31:15 +00:00
version = "0.4.0"
2021-02-28 23:10:13 +00:00
2017-08-03 19:10:48 +00:00
[dependencies.librespot-metadata]
path = "metadata"
2022-05-21 20:31:15 +00:00
version = "0.4.0"
2021-01-22 23:02:49 +00:00
[dependencies.librespot-playback]
path = "playback"
2022-05-21 20:31:15 +00:00
version = "0.4.0"
2021-01-22 23:02:49 +00:00
2017-08-03 19:10:48 +00:00
[dependencies.librespot-protocol]
path = "protocol"
2022-05-21 20:31:15 +00:00
version = "0.4.0"
2017-08-03 18:58:44 +00:00
2021-02-21 10:08:34 +00:00
[dependencies]
base64 = "0.13"
env_logger = {version = "0.8", default-features = false, features = ["termcolor","humantime","atty"]}
futures-util = { version = "0.3", default_features = false }
2021-05-01 14:17:05 +00:00
getopts = "0.2.21"
hex = "0.4"
2021-02-21 10:08:34 +00:00
hyper = "0.14"
log = "0.4"
rpassword = "5.0"
thiserror = "1.0"
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros", "signal", "sync", "process"] }
2021-05-09 07:53:20 +00:00
url = "2.2"
sha-1 = "0.9"
2021-02-21 10:08:34 +00:00
2016-01-02 01:12:07 +00:00
[features]
2018-02-09 01:14:11 +00:00
alsa-backend = ["librespot-playback/alsa-backend"]
portaudio-backend = ["librespot-playback/portaudio-backend"]
pulseaudio-backend = ["librespot-playback/pulseaudio-backend"]
jackaudio-backend = ["librespot-playback/jackaudio-backend"]
2019-03-20 13:24:03 +00:00
rodio-backend = ["librespot-playback/rodio-backend"]
rodiojack-backend = ["librespot-playback/rodiojack-backend"]
2018-12-28 02:46:27 +00:00
sdl-backend = ["librespot-playback/sdl-backend"]
gstreamer-backend = ["librespot-playback/gstreamer-backend"]
2021-02-28 23:10:13 +00:00
with-dns-sd = ["librespot-discovery/with-dns-sd"]
2018-01-31 11:00:53 +00:00
default = ["rodio-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"],
["contrib/librespot.service", "lib/systemd/system/", "644"],
["contrib/librespot.user.service", "lib/systemd/user/", "644"]
]