mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-06 03:50:06 +02:00
Use rustls rather than openssl
This commit is contained in:
parent
8831dea166
commit
baf2b65d7b
11 changed files with 107 additions and 160 deletions
15
src/lib.rs
15
src/lib.rs
|
@ -17,6 +17,7 @@ extern crate crypto;
|
|||
extern crate eventual;
|
||||
extern crate getopts;
|
||||
extern crate hyper;
|
||||
extern crate hyper_rustls;
|
||||
extern crate linear_map;
|
||||
extern crate lmdb_rs;
|
||||
extern crate mdns;
|
||||
|
@ -25,31 +26,27 @@ extern crate protobuf;
|
|||
extern crate rand;
|
||||
extern crate rpassword;
|
||||
extern crate rustc_serialize;
|
||||
extern crate rustls;
|
||||
extern crate serde;
|
||||
extern crate serde_json;
|
||||
extern crate shannon;
|
||||
extern crate tempfile;
|
||||
extern crate url;
|
||||
|
||||
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 = "openssl")]
|
||||
extern crate openssl;
|
||||
|
||||
#[cfg(feature = "alsa-backend")]
|
||||
extern crate alsa;
|
||||
|
||||
#[cfg(feature = "portaudio")]
|
||||
extern crate portaudio;
|
||||
|
||||
#[cfg(feature = "libpulse-sys")]
|
||||
extern crate libpulse_sys;
|
||||
|
||||
extern crate librespot_protocol as protocol;
|
||||
|
||||
pub mod album_cover;
|
||||
pub mod audio_backend;
|
||||
pub mod audio_decrypt;
|
||||
|
@ -63,12 +60,10 @@ pub mod link;
|
|||
pub mod main_helper;
|
||||
pub mod metadata;
|
||||
pub mod player;
|
||||
pub mod spotilocal;
|
||||
pub mod stream;
|
||||
pub mod util;
|
||||
pub mod version;
|
||||
|
||||
#[cfg(feature = "facebook")]
|
||||
pub mod spotilocal;
|
||||
|
||||
#[cfg(feature = "with-syntex")] include!(concat!(env!("OUT_DIR"), "/lib.rs"));
|
||||
#[cfg(not(feature = "with-syntex"))] include!("lib.in.rs");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue