lib.rs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. #![crate_name = "librespot"]
  2. #![cfg_attr(feature = "cargo-clippy", allow(unused_io_amount))]
  3. // TODO: many items from tokio-core::io have been deprecated in favour of tokio-io
  4. #![allow(deprecated)]
  5. #[macro_use] extern crate log;
  6. #[macro_use] extern crate serde_json;
  7. #[macro_use] extern crate serde_derive;
  8. extern crate base64;
  9. extern crate bit_set;
  10. extern crate byteorder;
  11. extern crate crypto;
  12. extern crate futures;
  13. extern crate getopts;
  14. extern crate hyper;
  15. extern crate linear_map;
  16. extern crate mdns;
  17. extern crate num_bigint;
  18. extern crate num_integer;
  19. extern crate num_traits;
  20. extern crate protobuf;
  21. extern crate rand;
  22. extern crate rpassword;
  23. extern crate serde;
  24. extern crate shannon;
  25. extern crate tempfile;
  26. extern crate tokio_core;
  27. extern crate tokio_proto;
  28. extern crate url;
  29. extern crate uuid;
  30. pub extern crate librespot_audio as audio;
  31. pub extern crate librespot_core as core;
  32. pub extern crate librespot_protocol as protocol;
  33. pub extern crate librespot_metadata as metadata;
  34. #[cfg(not(feature = "with-tremor"))]
  35. extern crate vorbis;
  36. #[cfg(feature = "with-tremor")]
  37. extern crate tremor as vorbis;
  38. #[cfg(feature = "alsa-backend")]
  39. extern crate alsa;
  40. #[cfg(feature = "portaudio-rs")]
  41. extern crate portaudio_rs;
  42. #[cfg(feature = "libpulse-sys")]
  43. extern crate libpulse_sys;
  44. pub mod audio_backend;
  45. pub mod discovery;
  46. pub mod keymaster;
  47. pub mod mixer;
  48. pub mod player;
  49. include!(concat!(env!("OUT_DIR"), "/lib.rs"));