2017-08-03 18:58:44 +00:00
|
|
|
#![cfg_attr(feature = "cargo-clippy", allow(unused_io_amount))]
|
|
|
|
|
2018-02-11 11:37:08 +00:00
|
|
|
#[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_derive;
|
2017-08-03 18:58:44 +00:00
|
|
|
|
2019-10-08 09:31:18 +00:00
|
|
|
extern crate aes;
|
2017-08-03 18:58:44 +00:00
|
|
|
extern crate base64;
|
|
|
|
extern crate byteorder;
|
2018-01-21 20:52:31 +00:00
|
|
|
extern crate bytes;
|
2019-10-08 09:31:18 +00:00
|
|
|
extern crate hmac;
|
2018-03-23 05:15:15 +00:00
|
|
|
extern crate httparse;
|
2017-08-03 18:58:44 +00:00
|
|
|
extern crate hyper;
|
2018-03-23 15:52:24 +00:00
|
|
|
extern crate hyper_proxy;
|
2017-08-03 18:58:44 +00:00
|
|
|
extern crate num_bigint;
|
|
|
|
extern crate num_integer;
|
|
|
|
extern crate num_traits;
|
2019-10-08 09:31:18 +00:00
|
|
|
extern crate pbkdf2;
|
2017-08-03 18:58:44 +00:00
|
|
|
extern crate protobuf;
|
|
|
|
extern crate rand;
|
|
|
|
extern crate serde;
|
|
|
|
extern crate serde_json;
|
2019-10-08 09:31:18 +00:00
|
|
|
extern crate sha1;
|
2017-08-03 18:58:44 +00:00
|
|
|
extern crate shannon;
|
2019-03-20 15:46:44 +00:00
|
|
|
extern crate tokio_codec;
|
2017-08-03 18:58:44 +00:00
|
|
|
extern crate tokio_core;
|
2018-01-21 20:52:31 +00:00
|
|
|
extern crate tokio_io;
|
2018-03-24 08:00:38 +00:00
|
|
|
extern crate url;
|
2017-08-03 18:58:44 +00:00
|
|
|
extern crate uuid;
|
|
|
|
|
2017-08-03 20:22:08 +00:00
|
|
|
extern crate librespot_protocol as protocol;
|
2017-08-03 18:58:44 +00:00
|
|
|
|
2018-02-11 11:37:08 +00:00
|
|
|
#[macro_use]
|
|
|
|
mod component;
|
2018-02-09 19:57:49 +00:00
|
|
|
mod apresolve;
|
2017-08-03 18:58:44 +00:00
|
|
|
pub mod audio_key;
|
|
|
|
pub mod authentication;
|
|
|
|
pub mod cache;
|
|
|
|
pub mod channel;
|
|
|
|
pub mod config;
|
2018-02-12 14:58:09 +00:00
|
|
|
mod connection;
|
2017-08-03 18:58:44 +00:00
|
|
|
pub mod diffie_hellman;
|
2018-02-06 18:54:28 +00:00
|
|
|
pub mod keymaster;
|
2017-08-03 18:58:44 +00:00
|
|
|
pub mod mercury;
|
2018-03-23 05:15:15 +00:00
|
|
|
mod proxytunnel;
|
2017-08-03 18:58:44 +00:00
|
|
|
pub mod session;
|
2018-02-12 20:02:27 +00:00
|
|
|
pub mod spotify_id;
|
2017-08-03 18:58:44 +00:00
|
|
|
pub mod util;
|
|
|
|
pub mod version;
|
2018-05-17 01:15:17 +00:00
|
|
|
pub mod volume;
|