Cargo.toml 2.9 KB

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