aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-08-20 23:07:05 +0200
committeracdenisSK <[email protected]>2017-08-21 17:11:57 +0200
commit03b6d78885b3a59ffa781ded3682c2dd24e65aa7 (patch)
tree63d4cd5ab9f718692fbe172ed949cbe64932e664 /src/lib.rs
parentRevamp the args to an `Args` struct (diff)
downloadserenity-03b6d78885b3a59ffa781ded3682c2dd24e65aa7.tar.xz
serenity-03b6d78885b3a59ffa781ded3682c2dd24e65aa7.zip
feature-flag the vec_shift dependency
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 c7bf8d9..56d22ae 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -106,8 +106,9 @@ extern crate chrono;
extern crate flate2;
extern crate serde;
extern crate parking_lot;
-extern crate vec_shift;
+#[cfg(feature="framework")]
+extern crate vec_shift;
#[cfg(feature = "voice")]
extern crate byteorder;
#[cfg(feature = "futures")]