librespot/src/lib.rs

47 lines
1.1 KiB
Rust
Raw Normal View History

#![crate_name = "librespot"]
#![cfg_attr(not(feature = "with-syntex"), feature(plugin))]
#![cfg_attr(not(feature = "with-syntex"), plugin(protobuf_macros))]
#![cfg_attr(not(feature = "with-syntex"), plugin(json_macros))]
2016-03-16 00:05:05 +00:00
#![cfg_attr(feature="clippy", feature(plugin))]
#![cfg_attr(feature="clippy", plugin(clippy))]
2016-01-02 15:19:39 +00:00
#[macro_use]
extern crate lazy_static;
2015-09-01 11:20:37 +00:00
extern crate bit_set;
extern crate byteorder;
extern crate crypto;
2015-09-01 11:20:37 +00:00
extern crate eventual;
extern crate hyper;
extern crate num;
extern crate portaudio;
extern crate protobuf;
extern crate shannon;
extern crate rand;
2016-01-01 23:16:12 +00:00
extern crate rustc_serialize;
extern crate time;
2016-01-01 23:16:12 +00:00
extern crate tiny_http;
extern crate tempfile;
2016-01-01 23:16:12 +00:00
extern crate url;
#[cfg(not(feature = "with-tremor"))]
2015-09-01 11:20:37 +00:00
extern crate vorbis;
#[cfg(feature = "with-tremor")]
extern crate tremor as vorbis;
2016-01-02 01:12:07 +00:00
#[cfg(feature = "dns-sd")]
extern crate dns_sd;
2016-03-16 00:05:05 +00:00
#[cfg(feature = "openssl")]
extern crate openssl;
2016-01-27 10:40:00 +00:00
extern crate librespot_protocol as protocol;
#[cfg(feature = "with-syntex")]
include!(concat!(env!("OUT_DIR"), "/lib.rs"));
#[cfg(not(feature = "with-syntex"))]
include!("lib.in.rs");