aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-10-14 22:41:25 +0200
committeracdenisSK <[email protected]>2017-10-14 22:41:25 +0200
commitcae014758a1d1e926a71679f02e32601c57f8d52 (patch)
tree39270dbc2df916a91c3c4272600fd082a2604516 /src/lib.rs
parentSwitch to parking_lot::{Mutex, RwLock} (diff)
parentRelease v0.4.1 (diff)
downloadserenity-cae014758a1d1e926a71679f02e32601c57f8d52.tar.xz
serenity-cae014758a1d1e926a71679f02e32601c57f8d52.zip
Update to account for changes made in 0.4.1
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs24
1 files changed, 11 insertions, 13 deletions
diff --git a/src/lib.rs b/src/lib.rs
index a3710eb..121740e 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -90,15 +90,12 @@
#![allow(doc_markdown, inline_always)]
#![warn(enum_glob_use, if_not_else)]
-#[allow(unused_imports)]
#[macro_use]
extern crate bitflags;
-#[allow(unused_imports)]
#[macro_use]
extern crate log;
#[macro_use]
extern crate serde_derive;
-#[allow(unused_imports)]
#[macro_use]
extern crate serde_json;
@@ -107,34 +104,35 @@ extern crate serde_json;
extern crate lazy_static;
extern crate chrono;
-extern crate parking_lot;
extern crate serde;
-#[cfg(feature = "utils")]
+#[cfg(feature = "base64")]
extern crate base64;
-#[cfg(feature = "voice")]
+#[cfg(feature = "byteorder")]
extern crate byteorder;
-#[cfg(feature = "gateway")]
+#[cfg(feature = "flate2")]
extern crate flate2;
#[cfg(feature = "hyper")]
extern crate hyper;
#[cfg(feature = "hyper-native-tls")]
extern crate hyper_native_tls;
-#[cfg(feature = "http")]
+#[cfg(feature = "multipart")]
extern crate multipart;
#[cfg(feature = "native-tls")]
extern crate native_tls;
-#[cfg(feature = "voice")]
+#[cfg(feature = "opus")]
extern crate opus;
-#[cfg(feature = "voice")]
+#[cfg(feature = "parking_lot")]
+extern crate parking_lot;
+#[cfg(feature = "sodiumoxide")]
extern crate sodiumoxide;
#[cfg(feature = "threadpool")]
extern crate threadpool;
-#[cfg(feature = "client")]
+#[cfg(feature = "typemap")]
extern crate typemap;
-#[cfg(feature = "standard_framework")]
+#[cfg(feature = "vec_shift")]
extern crate vec_shift;
-#[cfg(feature = "gateway")]
+#[cfg(feature = "evzht9h3nznqzwl")]
extern crate evzht9h3nznqzwl as websocket;
#[macro_use]