Cargo.toml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. eventual = "0.1.6"
  25. getopts = "0.2.14"
  26. hyper = { version = "0.9.1", default-features = false }
  27. hyper-rustls = "0.2.1"
  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. rustls = "0.5.3"
  37. rust-crypto = "0.2.34"
  38. rustc-serialize = "0.3.16"
  39. serde = "0.8"
  40. serde_json = "0.8"
  41. serde_macros = { version = "0.8", optional = true }
  42. shannon = { git = "https://github.com/plietar/rust-shannon" }
  43. tempfile = "2.1"
  44. url = "0.5.0"
  45. vorbis = "0.1.0"
  46. tremor = { git = "https://github.com/plietar/rust-tremor", optional = true }
  47. alsa = { git = "https://github.com/plietar/rust-alsa", optional = true }
  48. portaudio = { git = "https://github.com/mvdnes/portaudio-rs", optional = true }
  49. libpulse-sys = { git = "https://github.com/astro/libpulse-sys", optional = true }
  50. json_macros = { git = "https://github.com/plietar/json_macros" }
  51. protobuf_macros = { git = "https://github.com/plietar/rust-protobuf-macros" }
  52. mdns = { git = "https://github.com/plietar/rust-mdns" }
  53. [build-dependencies]
  54. vergen = "0.1.0"
  55. protobuf_macros = { git = "https://github.com/plietar/rust-protobuf-macros" }
  56. json_macros = { git = "https://github.com/plietar/json_macros" }
  57. serde_codegen = { version = "0.8", optional = true }
  58. [features]
  59. with-syntex = ["serde_codegen", "protobuf_macros/with-syntex", "json_macros/with-syntex"]
  60. nightly = ["serde_macros"]
  61. with-tremor = ["tremor"]
  62. alsa-backend = ["alsa"]
  63. portaudio-backend = ["portaudio"]
  64. pulseaudio-backend= ["libpulse-sys"]
  65. default = ["with-syntex", "portaudio-backend"]
  66. [package.metadata.deb]
  67. maintainer = "nobody"
  68. copyright = "2016 Paul Liétar"
  69. license_file = ["LICENSE", "4"]
  70. depends = "$auto"
  71. extended_description = """\
  72. librespot is an open source client library for Spotify. It enables applications \
  73. to use Spotify's service, without using the official but closed-source \
  74. libspotify. Additionally, it will provide extra features which are not \
  75. available in the official library."""
  76. section = "sound"
  77. priority = "optional"
  78. assets = [
  79. ["target/release/librespot", "usr/bin/", "755"],
  80. ["assets/librespot.service", "lib/systemd/system/", "644"]
  81. ]