Cargo.toml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. [package]
  2. name = "librespot"
  3. version = "0.1.0"
  4. authors = ["Paul Liétar <paul@lietar.net>"]
  5. build = "build.rs"
  6. license = "MIT"
  7. description = "Open Source Spotify client library"
  8. keywords = ["spotify"]
  9. repository = "https://github.com/plietar/librespot"
  10. readme = "README.md"
  11. [workspace]
  12. [lib]
  13. name = "librespot"
  14. path = "src/lib.rs"
  15. [[bin]]
  16. name = "librespot"
  17. path = "src/main.rs"
  18. doc = false
  19. [dependencies.librespot-audio]
  20. path = "audio"
  21. [dependencies.librespot-core]
  22. path = "core"
  23. [dependencies.librespot-metadata]
  24. path = "metadata"
  25. [dependencies.librespot-protocol]
  26. path = "protocol"
  27. [dependencies]
  28. base64 = "0.5.0"
  29. env_logger = "0.4.0"
  30. futures = "0.1.8"
  31. getopts = "0.2.14"
  32. hyper = "0.11.2"
  33. log = "0.3.5"
  34. mdns = { git = "https://github.com/plietar/rust-mdns" }
  35. num-bigint = "0.1.35"
  36. protobuf = "1.1"
  37. rand = "0.3.13"
  38. rpassword = "0.3.0"
  39. rust-crypto = { git = "https://github.com/awmath/rust-crypto.git", branch = "avx2" }
  40. serde = "0.9.6"
  41. serde_derive = "0.9.6"
  42. serde_json = "0.9.5"
  43. tokio-core = "0.1.2"
  44. tokio-io = "0.1"
  45. tokio-signal = "0.1.2"
  46. url = "1.3"
  47. alsa = { git = "https://github.com/plietar/rust-alsa", optional = true }
  48. portaudio-rs = { version = "0.3.0", optional = true }
  49. libpulse-sys = { version = "0.0.0", optional = true }
  50. libc = { version = "0.2", optional = true }
  51. [build-dependencies]
  52. rand = "0.3.13"
  53. vergen = "0.1.0"
  54. protobuf_macros = { git = "https://github.com/plietar/rust-protobuf-macros", features = ["with-syntex"] }
  55. [features]
  56. alsa-backend = ["alsa"]
  57. portaudio-backend = ["portaudio-rs"]
  58. pulseaudio-backend = ["libpulse-sys", "libc"]
  59. with-tremor = ["librespot-audio/with-tremor"]
  60. with-lewton = ["librespot-audio/with-lewton"]
  61. default = ["portaudio-backend"]
  62. [package.metadata.deb]
  63. maintainer = "nobody"
  64. copyright = "2016 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. ]