Cargo.toml 2.5 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. [lib]
  12. name = "librespot"
  13. path = "src/lib.rs"
  14. [[bin]]
  15. name = "librespot"
  16. path = "src/main.rs"
  17. doc = false
  18. [dependencies.librespot-protocol]
  19. path = "protocol"
  20. [dependencies]
  21. base64 = "0.4.0"
  22. bit-set = "0.4.0"
  23. byteorder = "1.0"
  24. env_logger = "0.4.0"
  25. getopts = "0.2.14"
  26. hyper = { git = "https://github.com/hyperium/hyper" }
  27. lazy_static = "0.2.0"
  28. linear-map = "1.0"
  29. log = "0.3.5"
  30. num-bigint = "0.1.35"
  31. num-integer = "0.1.32"
  32. num-traits = "0.1.36"
  33. protobuf = "1.1"
  34. rand = "0.3.13"
  35. rpassword = "0.3.0"
  36. rust-crypto = "0.2.34"
  37. serde = "0.9.6"
  38. serde_json = "0.9.5"
  39. serde_derive = "0.9.6"
  40. shannon = { git = "https://github.com/plietar/rust-shannon" }
  41. tempfile = "2.1"
  42. url = "1.3"
  43. vorbis = "0.1.0"
  44. tremor = { git = "https://github.com/plietar/rust-tremor", optional = true }
  45. alsa = { git = "https://github.com/plietar/rust-alsa", optional = true }
  46. portaudio = { git = "https://github.com/mvdnes/portaudio-rs", optional = true }
  47. libpulse-sys = { git = "https://github.com/astro/libpulse-sys", optional = true }
  48. mdns = { git = "https://github.com/plietar/rust-mdns" }
  49. error-chain = { version = "0.9.0", default_features = false }
  50. futures = "0.1.8"
  51. tokio-core = "0.1.2"
  52. tokio-proto = "0.1.0"
  53. tokio-signal = "0.1"
  54. [build-dependencies]
  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"]
  60. pulseaudio-backend = ["libpulse-sys"]
  61. with-tremor = ["tremor"]
  62. default = ["portaudio-backend"]
  63. [package.metadata.deb]
  64. maintainer = "nobody"
  65. copyright = "2016 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. ]