aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-08-24 15:26:49 +0200
committeracdenisSK <[email protected]>2017-08-24 16:36:01 +0200
commitb3a5bc89ad1c09290fb1c15ca3b36fe17c3796f3 (patch)
tree315e16f7b252d22b5f832302e722a85c9e6a9b6e /src/lib.rs
parentAllow FromStr for User to use REST (#147) (diff)
downloadserenity-b3a5bc89ad1c09290fb1c15ca3b36fe17c3796f3.tar.xz
serenity-b3a5bc89ad1c09290fb1c15ca3b36fe17c3796f3.zip
Revamp `RwLock` usage in the lib
Also not quite sure if they goofed rustfmt or something, but its changes it did were a bit bizarre.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 3893968..066d926 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -105,11 +105,9 @@ extern crate lazy_static;
extern crate base64;
extern crate chrono;
extern crate flate2;
-extern crate serde;
extern crate parking_lot;
+extern crate serde;
-#[cfg(feature = "framework")]
-extern crate vec_shift;
#[cfg(feature = "voice")]
extern crate byteorder;
#[cfg(feature = "futures")]
@@ -130,6 +128,8 @@ extern crate sodiumoxide;
extern crate tokio_core;
#[cfg(feature = "client")]
extern crate typemap;
+#[cfg(feature = "framework")]
+extern crate vec_shift;
#[cfg(feature = "gateway")]
extern crate websocket;