Cargo.toml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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.5.0"
  32. env_logger = "0.4.0"
  33. futures = "0.1.8"
  34. getopts = "0.2.14"
  35. hyper = "0.11.2"
  36. log = "0.3.5"
  37. num-bigint = "0.1.35"
  38. protobuf = "1.1"
  39. rand = "0.6"
  40. rpassword = "0.3.0"
  41. tokio-core = "0.1.2"
  42. tokio-io = "0.1"
  43. tokio-process = "0.2.2"
  44. tokio-signal = "0.1.2"
  45. url = "1.7.0"
  46. sha-1 = "0.8.0"
  47. hex = "0.3.2"
  48. [build-dependencies]
  49. rand = "0.6"
  50. vergen = "0.1.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. with-tremor = ["librespot-audio/with-tremor"]
  58. with-vorbis = ["librespot-audio/with-vorbis"]
  59. with-dns-sd = ["librespot-connect/with-dns-sd"]
  60. default = ["librespot-playback/rodio-backend"]
  61. [package.metadata.deb]
  62. maintainer = "librespot-org"
  63. copyright = "2018 Paul Liétar"
  64. license_file = ["LICENSE", "4"]
  65. depends = "$auto"
  66. extended_description = """\
  67. librespot is an open source client library for Spotify. It enables applications \
  68. to use Spotify's service, without using the official but closed-source \
  69. libspotify. Additionally, it will provide extra features which are not \
  70. available in the official library."""
  71. section = "sound"
  72. priority = "optional"
  73. assets = [
  74. ["target/release/librespot", "usr/bin/", "755"],
  75. ["contrib/librespot.service", "lib/systemd/system/", "644"]
  76. ]