Cargo.toml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. dns-sd = { version = "0.1.3", optional = true }
  52. [build-dependencies]
  53. rand = "0.3.13"
  54. vergen = "0.1.0"
  55. protobuf_macros = { git = "https://github.com/plietar/rust-protobuf-macros", features = ["with-syntex"] }
  56. [features]
  57. alsa-backend = ["alsa"]
  58. portaudio-backend = ["portaudio-rs"]
  59. pulseaudio-backend = ["libpulse-sys", "libc"]
  60. with-tremor = ["librespot-audio/with-tremor"]
  61. with-lewton = ["librespot-audio/with-lewton"]
  62. with-dns-sd = ["dns-sd"]
  63. default = ["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. ]