Cargo.toml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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.4.0"
  16. byteorder = "~0.5.1"
  17. eventual = "~0.1.6"
  18. getopts = "~0.2.14"
  19. hyper = { version = "0.9.1", default-features = false }
  20. #json_macros = "~0.3.0"
  21. lazy_static = "~0.2.0"
  22. linear-map = "1.0"
  23. lmdb-rs = "0.7.0"
  24. num = "~0.1.30"
  25. protobuf = "~1.0.15"
  26. rand = "~0.3.13"
  27. rpassword = "~0.2.2"
  28. rust-crypto = "~0.2.34"
  29. rustc-serialize = "~0.3.16"
  30. serde = "0.7"
  31. serde_json = "0.7"
  32. serde_macros = { version = "0.7", optional = true }
  33. tempfile = "~2.1.3"
  34. time = "~0.1.34"
  35. url = "~0.5.0"
  36. log = "0.3.5"
  37. env_logger = "0.3.2"
  38. shannon = { git = "https://github.com/plietar/rust-shannon" }
  39. vorbis = "~0.0.14"
  40. tremor = { git = "https://github.com/plietar/rust-tremor", optional = true }
  41. dns-sd = { version = "~0.1.1", optional = true }
  42. portaudio = { git = "https://github.com/mvdnes/portaudio-rs", optional = true }
  43. libpulse-sys = { git = "https://github.com/astro/libpulse-sys", optional = true }
  44. json_macros = { git = "https://github.com/plietar/json_macros" }
  45. protobuf_macros = { git = "https://github.com/plietar/rust-protobuf-macros" }
  46. clippy = { version = "*", optional = true }
  47. openssl = { version = "0.7", optional = true }
  48. [build-dependencies]
  49. vergen = "~0.1.0"
  50. protobuf_macros = { git = "https://github.com/plietar/rust-protobuf-macros" }
  51. json_macros = { git = "https://github.com/plietar/json_macros" }
  52. serde_codegen = { version = "0.7", optional = true }
  53. [features]
  54. discovery = ["dns-sd"]
  55. with-syntex = ["serde_codegen", "protobuf_macros/with-syntex", "json_macros/with-syntex"]
  56. nightly = ["serde_macros"]
  57. with-tremor = ["tremor"]
  58. facebook = ["hyper/ssl", "openssl"]
  59. portaudio-backend = ["portaudio"]
  60. pulseaudio-backend= ["libpulse-sys"]
  61. static-appkey = []
  62. default = ["with-syntex", "portaudio-backend"]