mirror of
https://github.com/librespot-org/librespot.git
synced 2024-11-08 16:45:43 +00:00
19b06ae5fb
Rust 1.15 is now required.
69 lines
1.5 KiB
Rust
69 lines
1.5 KiB
Rust
#![crate_name = "librespot"]
|
|
|
|
#![cfg_attr(feature = "cargo-clippy", allow(unused_io_amount))]
|
|
|
|
#[macro_use] extern crate error_chain;
|
|
#[macro_use] extern crate futures;
|
|
#[macro_use] extern crate lazy_static;
|
|
#[macro_use] extern crate log;
|
|
#[macro_use] extern crate serde_json;
|
|
#[macro_use] extern crate serde_derive;
|
|
|
|
extern crate base64;
|
|
extern crate bit_set;
|
|
extern crate byteorder;
|
|
extern crate crypto;
|
|
extern crate getopts;
|
|
extern crate hyper;
|
|
extern crate linear_map;
|
|
extern crate mdns;
|
|
extern crate num_bigint;
|
|
extern crate num_integer;
|
|
extern crate num_traits;
|
|
extern crate protobuf;
|
|
extern crate rand;
|
|
extern crate rpassword;
|
|
extern crate serde;
|
|
extern crate shannon;
|
|
extern crate tempfile;
|
|
extern crate tokio_core;
|
|
extern crate tokio_proto;
|
|
extern crate url;
|
|
|
|
pub extern crate librespot_protocol as protocol;
|
|
|
|
#[cfg(not(feature = "with-tremor"))]
|
|
extern crate vorbis;
|
|
#[cfg(feature = "with-tremor")]
|
|
extern crate tremor as vorbis;
|
|
|
|
#[cfg(feature = "alsa-backend")]
|
|
extern crate alsa;
|
|
|
|
#[cfg(feature = "portaudio")]
|
|
extern crate portaudio;
|
|
|
|
#[cfg(feature = "libpulse-sys")]
|
|
extern crate libpulse_sys;
|
|
|
|
|
|
#[macro_use] mod component;
|
|
pub mod album_cover;
|
|
pub mod apresolve;
|
|
pub mod audio_backend;
|
|
pub mod audio_decrypt;
|
|
pub mod audio_file;
|
|
pub mod audio_key;
|
|
pub mod authentication;
|
|
pub mod cache;
|
|
pub mod channel;
|
|
pub mod diffie_hellman;
|
|
pub mod mercury;
|
|
pub mod metadata;
|
|
pub mod player;
|
|
pub mod session;
|
|
pub mod util;
|
|
pub mod version;
|
|
|
|
|
|
include!(concat!(env!("OUT_DIR"), "/lib.rs"));
|