Cargo.toml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. [package]
  2. name = "librespot"
  3. version = "0.1.0"
  4. authors = ["Paul Liétar <paul@lietar.net>"]
  5. license = "MIT"
  6. description = "Open Source Spotify client library"
  7. keywords = ["spotify"]
  8. repository = "https://github.com/plietar/librespot"
  9. readme = "README.md"
  10. [workspace]
  11. [lib]
  12. name = "librespot"
  13. path = "src/lib.rs"
  14. [[bin]]
  15. name = "librespot"
  16. path = "src/main.rs"
  17. doc = false
  18. [dependencies.librespot-audio]
  19. path = "audio"
  20. [dependencies.librespot-connect]
  21. path = "connect"
  22. [dependencies.librespot-core]
  23. path = "core"
  24. [dependencies.librespot-metadata]
  25. path = "metadata"
  26. [dependencies.librespot-playback]
  27. path = "playback"
  28. [dependencies.librespot-protocol]
  29. path = "protocol"
  30. [dependencies]
  31. base64 = "0.10"
  32. env_logger = "0.6"
  33. futures = "0.1"
  34. getopts = "0.2"
  35. hyper = "0.11"
  36. log = "0.4"
  37. num-bigint = "0.2"
  38. protobuf = "2.7"
  39. rand = "0.7"
  40. rpassword = "3.0"
  41. tokio-core = "0.1"
  42. tokio-io = "0.1"
  43. tokio-process = "0.2"
  44. tokio-signal = "0.2"
  45. url = "1.7"
  46. sha-1 = "0.8"
  47. hex = "0.3"
  48. [build-dependencies]
  49. rand = "0.7"
  50. vergen = "3.0"
  51. [features]
  52. alsa-backend = ["librespot-playback/alsa-backend"]
  53. portaudio-backend = ["librespot-playback/portaudio-backend"]
  54. pulseaudio-backend = ["librespot-playback/pulseaudio-backend"]
  55. jackaudio-backend = ["librespot-playback/jackaudio-backend"]
  56. rodio-backend = ["librespot-playback/rodio-backend"]
  57. sdl-backend = ["librespot-playback/sdl-backend"]
  58. with-tremor = ["librespot-audio/with-tremor"]
  59. with-vorbis = ["librespot-audio/with-vorbis"]
  60. with-dns-sd = ["librespot-connect/with-dns-sd"]
  61. default = ["librespot-playback/rodio-backend"]
  62. [package.metadata.deb]
  63. maintainer = "librespot-org"
  64. copyright = "2018 Paul Liétar"
  65. license_file = ["LICENSE", "4"]
  66. depends = "$auto"
  67. extended_description = """\
  68. librespot is an open source client library for Spotify. It enables applications \
  69. to use Spotify's service, without using the official but closed-source \
  70. libspotify. Additionally, it will provide extra features which are not \
  71. available in the official library."""
  72. section = "sound"
  73. priority = "optional"
  74. assets = [
  75. ["target/release/librespot", "usr/bin/", "755"],
  76. ["contrib/librespot.service", "lib/systemd/system/", "644"]
  77. ]