Cargo.toml 2.2 KB

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