Cargo.toml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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-protocol]
  20. path = "protocol"
  21. [dependencies.librespot-core]
  22. path = "core"
  23. [dependencies]
  24. base64 = "0.5.0"
  25. bit-set = "0.4.0"
  26. byteorder = "1.0"
  27. env_logger = "0.4.0"
  28. getopts = "0.2.14"
  29. hyper = { git = "https://github.com/hyperium/hyper" }
  30. lazy_static = "0.2.0"
  31. linear-map = "1.0"
  32. log = "0.3.5"
  33. num-bigint = "0.1.35"
  34. num-integer = "0.1.32"
  35. num-traits = "0.1.36"
  36. protobuf = "1.1"
  37. rand = "0.3.13"
  38. rpassword = "0.3.0"
  39. rust-crypto = { git = "https://github.com/awmath/rust-crypto.git", branch = "avx2" }
  40. serde = "0.9.6"
  41. serde_json = "0.9.5"
  42. serde_derive = "0.9.6"
  43. shannon = "0.2.0"
  44. tempfile = "2.1"
  45. url = "1.3"
  46. vorbis = "0.1.0"
  47. tremor = { git = "https://github.com/plietar/rust-tremor", optional = true }
  48. alsa = { git = "https://github.com/plietar/rust-alsa", optional = true }
  49. portaudio-rs = { version = "0.3.0", optional = true }
  50. libpulse-sys = { git = "https://github.com/astro/libpulse-sys", optional = true }
  51. mdns = { git = "https://github.com/plietar/rust-mdns" }
  52. error-chain = { version = "0.9.0", default_features = false }
  53. futures = "0.1.8"
  54. tokio-core = "0.1.2"
  55. tokio-proto = "0.1.0"
  56. tokio-signal = "0.1"
  57. uuid = { version = "0.4", features = ["v4"] }
  58. [build-dependencies]
  59. rand = "0.3.13"
  60. vergen = "0.1.0"
  61. protobuf_macros = { git = "https://github.com/plietar/rust-protobuf-macros", features = ["with-syntex"] }
  62. [features]
  63. alsa-backend = ["alsa"]
  64. portaudio-backend = ["portaudio-rs"]
  65. pulseaudio-backend = ["libpulse-sys"]
  66. with-tremor = ["tremor"]
  67. default = ["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. ["contrib/librespot.service", "lib/systemd/system/", "644"]
  83. ]