Cargo.toml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. edition = "2018"
  8. [dependencies.librespot-audio]
  9. path = "../audio"
  10. version = "0.1.0"
  11. [dependencies.librespot-core]
  12. path = "../core"
  13. version = "0.1.0"
  14. [dependencies.librespot-metadata]
  15. path = "../metadata"
  16. version = "0.1.0"
  17. [dependencies]
  18. futures = "0.1"
  19. log = "0.4"
  20. byteorder = "1.3"
  21. alsa = { version = "0.2.1", optional = true }
  22. portaudio-rs = { version = "0.3.0", optional = true }
  23. libpulse-sys = { version = "0.0.0", optional = true }
  24. jack = { version = "0.5.3", optional = true }
  25. libc = { version = "0.2", optional = true }
  26. rodio = { version = "0.9", optional = true, default-features = false }
  27. cpal = { version = "0.8", optional = true }
  28. sdl2 = { version = "0.32", optional = true }
  29. [features]
  30. alsa-backend = ["alsa"]
  31. portaudio-backend = ["portaudio-rs"]
  32. pulseaudio-backend = ["libpulse-sys", "libc"]
  33. jackaudio-backend = ["jack"]
  34. rodio-backend = ["rodio", "cpal"]
  35. sdl-backend = ["sdl2"]