Cargo.toml 1.0 KB

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