Cargo.toml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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-discovery]
  24. path = "discovery"
  25. [dependencies.librespot-metadata]
  26. path = "metadata"
  27. [dependencies.librespot-playback]
  28. path = "playback"
  29. [dependencies.librespot-protocol]
  30. path = "protocol"
  31. [dependencies]
  32. base64 = "0.5.0"
  33. env_logger = "0.4.0"
  34. futures = "0.1.8"
  35. getopts = "0.2.14"
  36. hyper = "0.11.2"
  37. log = "0.3.5"
  38. num-bigint = "0.1.35"
  39. protobuf = "1.1"
  40. rand = "0.3.13"
  41. rpassword = "0.3.0"
  42. rust-crypto = { git = "https://github.com/awmath/rust-crypto.git", branch = "avx2" }
  43. serde = "0.9.6"
  44. serde_derive = "0.9.6"
  45. serde_json = "0.9.5"
  46. tokio-core = "0.1.2"
  47. tokio-io = "0.1"
  48. tokio-signal = "0.1.2"
  49. url = "1.3"
  50. [build-dependencies]
  51. rand = "0.3.13"
  52. vergen = "0.1.0"
  53. protobuf_macros = { git = "https://github.com/plietar/rust-protobuf-macros", features = ["with-syntex"] }
  54. [features]
  55. alsa-backend = ["librespot-playback/alsa"]
  56. portaudio-backend = ["librespot-playback/portaudio-rs"]
  57. pulseaudio-backend = ["librespot-playback/libpulse-sys", "librespot-playback/libc"]
  58. jackaudio-backend = ["librespot-playback/jack"]
  59. with-tremor = ["librespot-audio/with-tremor"]
  60. with-vorbis = ["librespot-audio/with-vorbis"]
  61. with-dns-sd = ["librespot-discovery/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. ]