Cargo.toml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. [dependencies.librespot-protocol]
  18. path = "protocol"
  19. [dependencies]
  20. bit-set = "~0.4.0"
  21. byteorder = "~0.5.1"
  22. eventual = "~0.1.6"
  23. getopts = "~0.2.14"
  24. hyper = { version = "0.9.1", default-features = false }
  25. #json_macros = "~0.3.0"
  26. lazy_static = "~0.2.0"
  27. linear-map = "1.0"
  28. lmdb-rs = "0.7.2"
  29. num = "~0.1.30"
  30. protobuf = "~1.0.15"
  31. rand = "~0.3.13"
  32. rpassword = "~0.2.2"
  33. rust-crypto = "~0.2.34"
  34. rustc-serialize = "~0.3.16"
  35. serde = "0.7"
  36. serde_json = "0.7"
  37. serde_macros = { version = "0.7", optional = true }
  38. tempfile = "~2.1.3"
  39. url = "~0.5.0"
  40. log = "0.3.5"
  41. env_logger = "0.3.2"
  42. shannon = { git = "https://github.com/plietar/rust-shannon" }
  43. simple-signal = "1.0.6"
  44. vorbis = "~0.0.14"
  45. tremor = { git = "https://github.com/plietar/rust-tremor", optional = true }
  46. alsa = { git = "https://github.com/plietar/rust-alsa", optional = true }
  47. portaudio = { git = "https://github.com/mvdnes/portaudio-rs", optional = true }
  48. libpulse-sys = { git = "https://github.com/astro/libpulse-sys", optional = true }
  49. json_macros = { git = "https://github.com/plietar/json_macros" }
  50. protobuf_macros = { git = "https://github.com/plietar/rust-protobuf-macros" }
  51. clippy = { version = "*", optional = true }
  52. openssl = { version = "0.7", optional = true }
  53. mdns = { git = "https://github.com/plietar/rust-mdns" }
  54. [build-dependencies]
  55. vergen = "~0.1.0"
  56. protobuf_macros = { git = "https://github.com/plietar/rust-protobuf-macros" }
  57. json_macros = { git = "https://github.com/plietar/json_macros" }
  58. serde_codegen = { version = "0.7", optional = true }
  59. [features]
  60. with-syntex = ["serde_codegen", "protobuf_macros/with-syntex", "json_macros/with-syntex"]
  61. nightly = ["serde_macros"]
  62. with-tremor = ["tremor"]
  63. facebook = ["hyper/ssl", "openssl"]
  64. alsa-backend = ["alsa"]
  65. portaudio-backend = ["portaudio"]
  66. pulseaudio-backend= ["libpulse-sys"]
  67. default = ["with-syntex", "portaudio-backend"]
  68. [package.metadata.deb]
  69. maintainer = "nobody"
  70. copyright = "2016 Paul Liétar"
  71. license_file = ["LICENSE", "4"]
  72. depends = "$auto"
  73. extended_description = """\
  74. librespot is an open source client library for Spotify. It enables applications \
  75. to use Spotify's service, without using the official but closed-source \
  76. libspotify. Additionally, it will provide extra features which are not \
  77. available in the official library."""
  78. section = "sound"
  79. priority = "optional"
  80. assets = [
  81. ["target/release/librespot", "usr/bin/", "755"],
  82. ["assets/librespot.service", "lib/systemd/system/", "644"]
  83. ]