Cargo.toml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. [package]
  2. name = "librespot-playback"
  3. version = "0.1.3"
  4. authors = ["Sasha Hilton <sashahilton00@gmail.com>"]
  5. description = "The audio playback logic for librespot"
  6. license = "MIT"
  7. repository = "https://github.com/librespot-org/librespot"
  8. edition = "2018"
  9. [dependencies.librespot-audio]
  10. path = "../audio"
  11. version = "0.1.3"
  12. [dependencies.librespot-core]
  13. path = "../core"
  14. version = "0.1.3"
  15. [dependencies.librespot-metadata]
  16. path = "../metadata"
  17. version = "0.1.3"
  18. [dependencies]
  19. futures = "0.1"
  20. log = "0.4"
  21. byteorder = "1.3"
  22. shell-words = "1.0.0"
  23. alsa = { version = "0.2", optional = true }
  24. portaudio-rs = { version = "0.3", optional = true }
  25. libpulse-binding = { version = "2.13", optional = true, default-features = false }
  26. libpulse-simple-binding = { version = "2.13", optional = true, default-features = false }
  27. jack = { version = "0.6", optional = true }
  28. libc = { version = "0.2", optional = true }
  29. rodio = { version = "0.13", optional = true, default-features = false }
  30. cpal = { version = "0.13", optional = true }
  31. sdl2 = { version = "0.34", optional = true }
  32. gstreamer = { version = "0.16", optional = true }
  33. gstreamer-app = { version = "0.16", optional = true }
  34. glib = { version = "0.10", optional = true }
  35. zerocopy = { version = "0.3", optional = true }
  36. [features]
  37. alsa-backend = ["alsa"]
  38. portaudio-backend = ["portaudio-rs"]
  39. pulseaudio-backend = ["libpulse-binding", "libpulse-simple-binding"]
  40. jackaudio-backend = ["jack"]
  41. rodio-backend = ["rodio", "cpal"]
  42. sdl-backend = ["sdl2"]
  43. gstreamer-backend = ["gstreamer", "gstreamer-app", "glib", "zerocopy"]