Cargo.toml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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", optional = true }
  23. portaudio-rs = { version = "0.3", optional = true }
  24. libpulse-sys = { version = "0.0.0", optional = true }
  25. jack = { version = "0.5", 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. gstreamer = { version = "0.15", optional = true }
  31. gstreamer-app = { version = "0.15", optional = true }
  32. glib = { version = "0.9", optional = true }
  33. zerocopy = { version = "0.2", optional = true }
  34. [features]
  35. alsa-backend = ["alsa"]
  36. portaudio-backend = ["portaudio-rs"]
  37. pulseaudio-backend = ["libpulse-sys", "libc"]
  38. jackaudio-backend = ["jack"]
  39. rodio-backend = ["rodio", "cpal"]
  40. sdl-backend = ["sdl2"]
  41. gstreamer-backend = ["gstreamer", "gstreamer-app", "glib", "zerocopy"]