Cargo.toml 2.7 KB

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