Cargo.toml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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.8.*"
  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. [features]
  49. alsa-backend = ["librespot-playback/alsa-backend"]
  50. portaudio-backend = ["librespot-playback/portaudio-backend"]
  51. pulseaudio-backend = ["librespot-playback/pulseaudio-backend"]
  52. jackaudio-backend = ["librespot-playback/jackaudio-backend"]
  53. rodio-backend = ["librespot-playback/rodio-backend"]
  54. sdl-backend = ["librespot-playback/sdl-backend"]
  55. with-tremor = ["librespot-audio/with-tremor"]
  56. with-vorbis = ["librespot-audio/with-vorbis"]
  57. with-dns-sd = ["librespot-connect/with-dns-sd"]
  58. default = ["librespot-playback/rodio-backend"]
  59. [package.metadata.deb]
  60. maintainer = "librespot-org"
  61. copyright = "2018 Paul Liétar"
  62. license_file = ["LICENSE", "4"]
  63. depends = "$auto"
  64. extended_description = """\
  65. librespot is an open source client library for Spotify. It enables applications \
  66. to use Spotify's service, without using the official but closed-source \
  67. libspotify. Additionally, it will provide extra features which are not \
  68. available in the official library."""
  69. section = "sound"
  70. priority = "optional"
  71. assets = [
  72. ["target/release/librespot", "usr/bin/", "755"],
  73. ["contrib/librespot.service", "lib/systemd/system/", "644"]
  74. ]