Cargo.toml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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 = "1.0"
  22. ctrlc = { version = "2.0", features = ["termination"] }
  23. env_logger = "0.3.2"
  24. getopts = "0.2.14"
  25. hyper = { git = "https://github.com/hyperium/hyper" }
  26. lazy_static = "0.2.0"
  27. linear-map = "1.0"
  28. lmdb-rs = "0.7.2"
  29. log = "0.3.5"
  30. num = "0.1.30"
  31. protobuf = "1.1"
  32. rand = "0.3.13"
  33. rpassword = "0.3.0"
  34. rust-crypto = "0.2.34"
  35. rustc-serialize = "0.3.16"
  36. serde = "0.8"
  37. serde_json = "0.8"
  38. serde_macros = { version = "0.8", optional = true }
  39. shannon = { git = "https://github.com/plietar/rust-shannon" }
  40. tempfile = "2.1"
  41. url = "1.3"
  42. vorbis = "0.1.0"
  43. tremor = { git = "https://github.com/plietar/rust-tremor", optional = true }
  44. alsa = { git = "https://github.com/plietar/rust-alsa", optional = true }
  45. portaudio = { git = "https://github.com/mvdnes/portaudio-rs", optional = true }
  46. libpulse-sys = { git = "https://github.com/astro/libpulse-sys", optional = true }
  47. json_macros = { git = "https://github.com/plietar/json_macros" }
  48. protobuf_macros = { git = "https://github.com/plietar/rust-protobuf-macros" }
  49. mdns = { git = "https://github.com/plietar/rust-mdns" }
  50. error-chain = "0.7.0"
  51. futures = "0.1.8"
  52. tokio-core = "0.1.2"
  53. tokio-proto = "0.1.0"
  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.8", 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. alsa-backend = ["alsa"]
  64. portaudio-backend = ["portaudio"]
  65. pulseaudio-backend= ["libpulse-sys"]
  66. default = ["with-syntex", "portaudio-backend"]
  67. [package.metadata.deb]
  68. maintainer = "nobody"
  69. copyright = "2016 Paul Liétar"
  70. license_file = ["LICENSE", "4"]
  71. depends = "$auto"
  72. extended_description = """\
  73. librespot is an open source client library for Spotify. It enables applications \
  74. to use Spotify's service, without using the official but closed-source \
  75. libspotify. Additionally, it will provide extra features which are not \
  76. available in the official library."""
  77. section = "sound"
  78. priority = "optional"
  79. assets = [
  80. ["target/release/librespot", "usr/bin/", "755"],
  81. ["assets/librespot.service", "lib/systemd/system/", "644"]
  82. ]