Cargo.toml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. [package]
  2. name = "librespot"
  3. version = "0.1.0"
  4. authors = ["Paul Liétar <paul@lietar.net>"]
  5. build = "build.rs"
  6. [lib]
  7. name = "librespot"
  8. path = "src/lib.rs"
  9. [[bin]]
  10. name = "librespot"
  11. path = "src/main.rs"
  12. [dependencies.librespot-protocol]
  13. path = "protocol"
  14. [dependencies]
  15. bit-set = "~0.2.0"
  16. byteorder = "~0.4.2"
  17. eventual = "~0.1.5"
  18. getopts = "~0.2.14"
  19. hyper = { version = "0.7.2", default-features = false }
  20. #json_macros = "~0.3.0"
  21. lazy_static = "~0.1.15"
  22. lmdb-rs = "0.7.0"
  23. num = "~0.1.30"
  24. protobuf = "~1.0.15"
  25. rand = "~0.3.13"
  26. rpassword = "~0.1.1"
  27. rust-crypto = "~0.2.34"
  28. rustc-serialize = "~0.3.16"
  29. tempfile = "~2.0.0"
  30. time = "~0.1.34"
  31. url = "~0.5.2"
  32. shannon = { git = "https://github.com/plietar/rust-shannon" }
  33. vorbis = "~0.0.14"
  34. tremor = { git = "https://github.com/plietar/rust-tremor", optional = true }
  35. dns-sd = { version = "~0.1.1", optional = true }
  36. portaudio = { git = "https://github.com/mvdnes/portaudio-rs", optional = true }
  37. libpulse-sys = { git = "https://github.com/astro/libpulse-sys", optional = true }
  38. json_macros = { git = "https://github.com/plietar/json_macros" }
  39. protobuf_macros = { git = "https://github.com/plietar/rust-protobuf-macros" }
  40. clippy = { version = "*", optional = true }
  41. openssl = { version = "0.7", optional = true }
  42. [build-dependencies]
  43. vergen = "~0.1.0"
  44. syntex = { version = "^0.30.0", optional = true }
  45. protobuf_macros = { git = "https://github.com/plietar/rust-protobuf-macros" }
  46. json_macros = { git = "https://github.com/plietar/json_macros" }
  47. [features]
  48. discovery = ["dns-sd"]
  49. with-syntex = ["syntex", "protobuf_macros/with-syntex", "json_macros/with-syntex"]
  50. with-tremor = ["tremor"]
  51. facebook = ["hyper/ssl", "openssl"]
  52. portaudio-backend = ["portaudio"]
  53. pulseaudio-backend= ["libpulse-sys"]
  54. static-appkey = []
  55. default = ["with-syntex", "portaudio-backend"]