Cargo.toml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. jack = { version = "0.5.3", optional = true }
  51. libc = { version = "0.2", optional = true }
  52. dns-sd = { version = "0.1.3", optional = true }
  53. [build-dependencies]
  54. rand = "0.3.13"
  55. vergen = "0.1.0"
  56. protobuf_macros = { git = "https://github.com/plietar/rust-protobuf-macros", features = ["with-syntex"] }
  57. [features]
  58. alsa-backend = ["alsa"]
  59. portaudio-backend = ["portaudio-rs"]
  60. pulseaudio-backend = ["libpulse-sys", "libc"]
  61. jackaudio-backend = ["jack"]
  62. with-tremor = ["librespot-audio/with-tremor"]
  63. with-vorbis = ["librespot-audio/with-vorbis"]
  64. with-dns-sd = ["dns-sd"]
  65. default = ["portaudio-backend"]
  66. [package.metadata.deb]
  67. maintainer = "librespot-org"
  68. copyright = "2018 Paul Liétar"
  69. license_file = ["LICENSE", "4"]
  70. depends = "$auto"
  71. extended_description = """\
  72. librespot is an open source client library for Spotify. It enables applications \
  73. to use Spotify's service, without using the official but closed-source \
  74. libspotify. Additionally, it will provide extra features which are not \
  75. available in the official library."""
  76. section = "sound"
  77. priority = "optional"
  78. assets = [
  79. ["target/release/librespot", "usr/bin/", "755"],
  80. ["contrib/librespot.service", "lib/systemd/system/", "644"]
  81. ]