lib.rs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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 error_chain;
  6. #[macro_use] extern crate futures;
  7. #[macro_use] extern crate lazy_static;
  8. #[macro_use] extern crate log;
  9. #[macro_use] extern crate serde_json;
  10. #[macro_use] extern crate serde_derive;
  11. extern crate base64;
  12. extern crate bit_set;
  13. extern crate byteorder;
  14. extern crate crypto;
  15. extern crate getopts;
  16. extern crate hyper;
  17. extern crate linear_map;
  18. extern crate mdns;
  19. extern crate num_bigint;
  20. extern crate num_integer;
  21. extern crate num_traits;
  22. extern crate protobuf;
  23. extern crate rand;
  24. extern crate rpassword;
  25. extern crate serde;
  26. extern crate shannon;
  27. extern crate tempfile;
  28. extern crate tokio_core;
  29. extern crate tokio_proto;
  30. extern crate url;
  31. extern crate uuid;
  32. pub extern crate librespot_protocol as protocol;
  33. #[cfg(not(feature = "with-tremor"))]
  34. extern crate vorbis;
  35. #[cfg(feature = "with-tremor")]
  36. extern crate tremor as vorbis;
  37. #[cfg(feature = "alsa-backend")]
  38. extern crate alsa;
  39. #[cfg(feature = "portaudio-rs")]
  40. extern crate portaudio_rs;
  41. #[cfg(feature = "libpulse-sys")]
  42. extern crate libpulse_sys;
  43. #[macro_use] mod component;
  44. pub mod album_cover;
  45. pub mod apresolve;
  46. pub mod audio_backend;
  47. pub mod audio_decrypt;
  48. pub mod audio_file;
  49. pub mod audio_key;
  50. pub mod authentication;
  51. pub mod cache;
  52. pub mod channel;
  53. pub mod diffie_hellman;
  54. pub mod mercury;
  55. pub mod metadata;
  56. pub mod player;
  57. pub mod session;
  58. pub mod util;
  59. pub mod version;
  60. pub mod mixer;
  61. include!(concat!(env!("OUT_DIR"), "/lib.rs"));