lib.rs 868 B

12345678910111213141516171819202122232425262728293031323334
  1. #[macro_use]
  2. extern crate futures;
  3. #[macro_use]
  4. extern crate log;
  5. extern crate bit_set;
  6. extern crate byteorder;
  7. extern crate bytes;
  8. extern crate crypto;
  9. extern crate num_bigint;
  10. extern crate num_traits;
  11. extern crate tempfile;
  12. extern crate tokio;
  13. extern crate librespot_core as core;
  14. mod decrypt;
  15. mod fetch;
  16. #[cfg(not(any(feature = "with-tremor", feature = "with-vorbis")))]
  17. mod lewton_decoder;
  18. #[cfg(any(feature = "with-tremor", feature = "with-vorbis"))]
  19. mod libvorbis_decoder;
  20. mod range_set;
  21. pub use decrypt::AudioDecrypt;
  22. pub use fetch::{AudioFile, AudioFileOpen, StreamLoaderController};
  23. #[cfg(not(any(feature = "with-tremor", feature = "with-vorbis")))]
  24. pub use lewton_decoder::{VorbisDecoder, VorbisError, VorbisPacket};
  25. #[cfg(any(feature = "with-tremor", feature = "with-vorbis"))]
  26. pub use libvorbis_decoder::{VorbisDecoder, VorbisError, VorbisPacket};