aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 70d454a..c454a88 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -100,7 +100,6 @@ extern crate serde_derive;
extern crate serde_json;
extern crate base64;
-extern crate byteorder;
extern crate flate2;
extern crate hyper;
extern crate multipart;
@@ -110,6 +109,8 @@ extern crate typemap;
extern crate websocket;
#[cfg(feature="voice")]
+extern crate byteorder;
+#[cfg(feature="voice")]
extern crate opus;
#[cfg(feature="voice")]
extern crate sodiumoxide;