Cargo.toml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. rust-crypto = "0.2.36"
  42. serde = "0.9.6"
  43. serde_derive = "0.9.6"
  44. serde_json = "0.9.5"
  45. tokio-core = "0.1.2"
  46. tokio-io = "0.1"
  47. tokio-process = "0.2.2"
  48. tokio-signal = "0.1.2"
  49. url = "1.7.0"
  50. [build-dependencies]
  51. rand = "0.6"
  52. vergen = "0.1.0"
  53. [replace]
  54. "rust-crypto:0.2.36" = { git = "https://github.com/awmath/rust-crypto.git", branch = "avx2" }
  55. [features]
  56. alsa-backend = ["librespot-playback/alsa-backend"]
  57. portaudio-backend = ["librespot-playback/portaudio-backend"]
  58. pulseaudio-backend = ["librespot-playback/pulseaudio-backend"]
  59. jackaudio-backend = ["librespot-playback/jackaudio-backend"]
  60. with-tremor = ["librespot-audio/with-tremor"]
  61. with-vorbis = ["librespot-audio/with-vorbis"]
  62. with-dns-sd = ["librespot-connect/with-dns-sd"]
  63. default = ["librespot-playback/portaudio-backend"]
  64. [package.metadata.deb]
  65. maintainer = "librespot-org"
  66. copyright = "2018 Paul Liétar"
  67. license_file = ["LICENSE", "4"]
  68. depends = "$auto"
  69. extended_description = """\
  70. librespot is an open source client library for Spotify. It enables applications \
  71. to use Spotify's service, without using the official but closed-source \
  72. libspotify. Additionally, it will provide extra features which are not \
  73. available in the official library."""
  74. section = "sound"
  75. priority = "optional"
  76. assets = [
  77. ["target/release/librespot", "usr/bin/", "755"],
  78. ["contrib/librespot.service", "lib/systemd/system/", "644"]
  79. ]