Cargo.toml 1.1 KB

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