Cargo.toml 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. [package]
  2. name = "librespot-playback"
  3. version = "0.1.0"
  4. authors = ["Sasha Hilton <sashahilton00@gmail.com>"]
  5. [dependencies.librespot-audio]
  6. path = "../audio"
  7. [dependencies.librespot-core]
  8. path = "../core"
  9. [dependencies.librespot-metadata]
  10. path = "../metadata"
  11. [dependencies]
  12. futures = "0.1"
  13. log = "0.4"
  14. byteorder = "1.3"
  15. alsa = { version = "0.2.1", optional = true }
  16. portaudio-rs = { version = "0.3.0", optional = true }
  17. libpulse-sys = { version = "0.0.0", optional = true }
  18. jack = { version = "0.5.3", optional = true }
  19. libc = { version = "0.2", optional = true }
  20. rodio = { git = "https://github.com/tomaka/rodio", optional = true, default-features = false }
  21. cpal = { version = "0.8", optional = true }
  22. sdl2 = { version = "0.32", optional = true }
  23. [features]
  24. alsa-backend = ["alsa"]
  25. portaudio-backend = ["portaudio-rs"]
  26. pulseaudio-backend = ["libpulse-sys", "libc"]
  27. jackaudio-backend = ["jack"]
  28. rodio-backend = ["rodio", "cpal"]
  29. sdl-backend = ["sdl2"]