|
| 1 | +[package] |
| 2 | +name = "librespot" |
| 3 | +version = "0.5.0-dev" |
| 4 | +rust-version = "1.74" |
| 5 | +authors = ["Librespot Org"] |
| 6 | +license = "MIT" |
| 7 | +description = "An open source client library for Spotify, with support for Spotify Connect" |
| 8 | +keywords = ["spotify"] |
| 9 | +repository = "https://github.com/librespot-org/librespot" |
| 10 | +readme = "README.md" |
| 11 | +edition = "2021" |
| 12 | + |
| 13 | +[workspace] |
| 14 | + |
| 15 | +[lib] |
| 16 | +name = "librespot" |
| 17 | +path = "src/lib.rs" |
| 18 | + |
| 19 | +[[bin]] |
| 20 | +name = "librespot" |
| 21 | +path = "src/main.rs" |
| 22 | +doc = false |
| 23 | + |
| 24 | +[dependencies.librespot-audio] |
| 25 | +path = "audio" |
| 26 | +version = "0.5.0-dev" |
| 27 | + |
| 28 | +[dependencies.librespot-connect] |
| 29 | +path = "connect" |
| 30 | +version = "0.5.0-dev" |
| 31 | + |
| 32 | +[dependencies.librespot-core] |
| 33 | +path = "core" |
| 34 | +version = "0.5.0-dev" |
| 35 | + |
| 36 | +[dependencies.librespot-discovery] |
| 37 | +path = "discovery" |
| 38 | +version = "0.5.0-dev" |
| 39 | + |
| 40 | +[dependencies.librespot-metadata] |
| 41 | +path = "metadata" |
| 42 | +version = "0.5.0-dev" |
| 43 | + |
| 44 | +[dependencies.librespot-playback] |
| 45 | +path = "playback" |
| 46 | +version = "0.5.0-dev" |
| 47 | + |
| 48 | +[dependencies.librespot-protocol] |
| 49 | +path = "protocol" |
| 50 | +version = "0.5.0-dev" |
| 51 | + |
| 52 | +[dependencies.librespot-oauth] |
| 53 | +path = "oauth" |
| 54 | +version = "0.5.0-dev" |
| 55 | + |
| 56 | +[dependencies] |
| 57 | +data-encoding = "2.5" |
| 58 | +env_logger = { version = "0.11.2", default-features = false, features = ["color", "humantime", "auto-color"] } |
| 59 | +futures-util = { version = "0.3", default-features = false } |
| 60 | +getopts = "0.2" |
| 61 | +log = "0.4" |
| 62 | +sha1 = "0.10" |
| 63 | +sysinfo = { version = "0.31.3", default-features = false, features = ["system"] } |
| 64 | +thiserror = "1.0" |
| 65 | +tokio = { version = "1", features = ["rt", "macros", "signal", "sync", "parking_lot", "process"] } |
| 66 | +url = "2.2" |
| 67 | + |
| 68 | +[features] |
| 69 | +alsa-backend = ["librespot-playback/alsa-backend"] |
| 70 | +portaudio-backend = ["librespot-playback/portaudio-backend"] |
| 71 | +pulseaudio-backend = ["librespot-playback/pulseaudio-backend"] |
| 72 | +jackaudio-backend = ["librespot-playback/jackaudio-backend"] |
| 73 | +rodio-backend = ["librespot-playback/rodio-backend"] |
| 74 | +rodiojack-backend = ["librespot-playback/rodiojack-backend"] |
| 75 | +sdl-backend = ["librespot-playback/sdl-backend"] |
| 76 | +gstreamer-backend = ["librespot-playback/gstreamer-backend"] |
| 77 | + |
| 78 | +with-dns-sd = ["librespot-core/with-dns-sd", "librespot-discovery/with-dns-sd"] |
| 79 | + |
| 80 | +passthrough-decoder = ["librespot-playback/passthrough-decoder"] |
| 81 | + |
| 82 | +default = ["rodio-backend"] |
| 83 | + |
| 84 | +[package.metadata.deb] |
| 85 | +maintainer = "librespot-org" |
| 86 | +copyright = "2018 Paul Liétar" |
| 87 | +license-file = ["LICENSE", "4"] |
| 88 | +depends = "$auto" |
| 89 | +extended-description = """\ |
| 90 | +librespot is an open source client library for Spotify. It enables applications \ |
| 91 | +to use Spotify's service, without using the official but closed-source \ |
| 92 | +libspotify. Additionally, it will provide extra features which are not \ |
| 93 | +available in the official library.""" |
| 94 | +section = "sound" |
| 95 | +priority = "optional" |
| 96 | +assets = [ |
| 97 | + ["target/release/librespot", "usr/bin/", "755"], |
| 98 | + ["contrib/librespot.service", "lib/systemd/system/", "644"], |
| 99 | + ["contrib/librespot.user.service", "lib/systemd/user/", "644"] |
| 100 | +] |
0 commit comments