aboutsummaryrefslogtreecommitdiff
path: root/src/client/bridge/gateway/shard_queuer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/bridge/gateway/shard_queuer.rs')
-rw-r--r--src/client/bridge/gateway/shard_queuer.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/bridge/gateway/shard_queuer.rs b/src/client/bridge/gateway/shard_queuer.rs
index 8d3dbe1..e313d55 100644
--- a/src/client/bridge/gateway/shard_queuer.rs
+++ b/src/client/bridge/gateway/shard_queuer.rs
@@ -1,4 +1,3 @@
-use framework::Framework;
use gateway::Shard;
use internal::prelude::*;
use parking_lot::Mutex as ParkingLotMutex;
@@ -17,6 +16,9 @@ use super::{
};
use typemap::ShareMap;
+#[cfg(feature = "framework")]
+use framework::Framework;
+
/// The shard queuer is a simple loop that runs indefinitely to manage the
/// startup of shards.
///