librespot/core/src/lib.rs

43 lines
713 B
Rust
Raw Normal View History

2018-02-11 11:37:08 +00:00
#[macro_use]
extern crate log;
2017-08-03 18:58:44 +00:00
use librespot_protocol as protocol;
2017-08-03 18:58:44 +00:00
2018-02-11 11:37:08 +00:00
#[macro_use]
mod component;
2021-01-21 20:49:39 +00:00
pub mod apresolve;
2017-08-03 18:58:44 +00:00
pub mod audio_key;
pub mod authentication;
pub mod cache;
2021-12-16 21:42:37 +00:00
pub mod cdn_url;
2017-08-03 18:58:44 +00:00
pub mod channel;
pub mod config;
mod connection;
2021-12-16 21:42:37 +00:00
pub mod date;
2021-05-22 17:05:13 +00:00
#[allow(dead_code)]
mod dealer;
2021-03-18 16:51:50 +00:00
#[doc(hidden)]
2017-08-03 18:58:44 +00:00
pub mod diffie_hellman;
pub mod error;
2021-12-08 18:53:45 +00:00
pub mod file_id;
2022-09-01 20:35:03 +00:00
pub mod http_client;
2017-08-03 18:58:44 +00:00
pub mod mercury;
pub mod packet;
mod proxytunnel;
2017-08-03 18:58:44 +00:00
pub mod session;
2021-05-22 17:05:13 +00:00
mod socket;
#[allow(dead_code)]
pub mod spclient;
2018-02-12 20:02:27 +00:00
pub mod spotify_id;
pub mod token;
2021-03-18 16:51:50 +00:00
#[doc(hidden)]
2017-08-03 18:58:44 +00:00
pub mod util;
pub mod version;
pub use config::SessionConfig;
pub use error::Error;
pub use file_id::FileId;
pub use session::Session;
pub use spotify_id::SpotifyId;