Cargo.toml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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 = { git = "https://github.com/hyperium/hyper" }
  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-signal = "0.1.2"
  45. url = "1.3"
  46. alsa = { git = "https://github.com/plietar/rust-alsa", optional = true }
  47. portaudio-rs = { version = "0.3.0", optional = true }
  48. libpulse-sys = { git = "https://github.com/astro/libpulse-sys", optional = true }
  49. [build-dependencies]
  50. rand = "0.3.13"
  51. vergen = "0.1.0"
  52. protobuf_macros = { git = "https://github.com/plietar/rust-protobuf-macros", features = ["with-syntex"] }
  53. [features]
  54. alsa-backend = ["alsa"]
  55. portaudio-backend = ["portaudio-rs"]
  56. pulseaudio-backend = ["libpulse-sys"]
  57. with-tremor = ["librespot-audio/with-tremor"]
  58. with-lewton = ["librespot-audio/with-lewton"]
  59. default = ["portaudio-backend"]
  60. [package.metadata.deb]
  61. maintainer = "nobody"
  62. copyright = "2016 Paul Liétar"
  63. license_file = ["LICENSE", "4"]
  64. depends = "$auto"
  65. extended_description = """\
  66. librespot is an open source client library for Spotify. It enables applications \
  67. to use Spotify's service, without using the official but closed-source \
  68. libspotify. Additionally, it will provide extra features which are not \
  69. available in the official library."""
  70. section = "sound"
  71. priority = "optional"
  72. assets = [
  73. ["target/release/librespot", "usr/bin/", "755"],
  74. ["contrib/librespot.service", "lib/systemd/system/", "644"]
  75. ]