Cargo.toml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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. bit-set = "0.4.0"
  30. byteorder = "1.0"
  31. env_logger = "0.4.0"
  32. getopts = "0.2.14"
  33. hyper = { git = "https://github.com/hyperium/hyper" }
  34. lazy_static = "0.2.0"
  35. linear-map = "1.0"
  36. log = "0.3.5"
  37. num-bigint = "0.1.35"
  38. num-integer = "0.1.32"
  39. num-traits = "0.1.36"
  40. protobuf = "1.1"
  41. rand = "0.3.13"
  42. rpassword = "0.3.0"
  43. rust-crypto = { git = "https://github.com/awmath/rust-crypto.git", branch = "avx2" }
  44. serde = "0.9.6"
  45. serde_json = "0.9.5"
  46. serde_derive = "0.9.6"
  47. shannon = "0.2.0"
  48. tempfile = "2.1"
  49. url = "1.3"
  50. vorbis = "0.1.0"
  51. tremor = { git = "https://github.com/plietar/rust-tremor", optional = true }
  52. alsa = { git = "https://github.com/plietar/rust-alsa", optional = true }
  53. portaudio-rs = { version = "0.3.0", optional = true }
  54. libpulse-sys = { git = "https://github.com/astro/libpulse-sys", optional = true }
  55. mdns = { git = "https://github.com/plietar/rust-mdns" }
  56. error-chain = { version = "0.9.0", default_features = false }
  57. futures = "0.1.8"
  58. tokio-core = "0.1.2"
  59. tokio-proto = "0.1.0"
  60. tokio-signal = "0.1"
  61. uuid = { version = "0.4", features = ["v4"] }
  62. [build-dependencies]
  63. rand = "0.3.13"
  64. vergen = "0.1.0"
  65. protobuf_macros = { git = "https://github.com/plietar/rust-protobuf-macros", features = ["with-syntex"] }
  66. [features]
  67. alsa-backend = ["alsa"]
  68. portaudio-backend = ["portaudio-rs"]
  69. pulseaudio-backend = ["libpulse-sys"]
  70. with-tremor = ["tremor"]
  71. default = ["portaudio-backend"]
  72. [package.metadata.deb]
  73. maintainer = "nobody"
  74. copyright = "2016 Paul Liétar"
  75. license_file = ["LICENSE", "4"]
  76. depends = "$auto"
  77. extended_description = """\
  78. librespot is an open source client library for Spotify. It enables applications \
  79. to use Spotify's service, without using the official but closed-source \
  80. libspotify. Additionally, it will provide extra features which are not \
  81. available in the official library."""
  82. section = "sound"
  83. priority = "optional"
  84. assets = [
  85. ["target/release/librespot", "usr/bin/", "755"],
  86. ["contrib/librespot.service", "lib/systemd/system/", "644"]
  87. ]