diff options
| author | Zeyla Hellyer <[email protected]> | 2017-09-27 10:15:58 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-09-27 10:15:58 -0700 |
| commit | 1d4ecb2f13258d286378c44d59c2ee4b1c68349d (patch) | |
| tree | 2114d5dd1f90752a4b22ef098e3d793c45b00a2d /src/client/bridge/gateway/shard_queuer.rs | |
| parent | Use `request_client!` for attachment downloading (#165) (diff) | |
| download | serenity-1d4ecb2f13258d286378c44d59c2ee4b1c68349d.tar.xz serenity-1d4ecb2f13258d286378c44d59c2ee4b1c68349d.zip | |
Fix client no-framework compilation
Diffstat (limited to 'src/client/bridge/gateway/shard_queuer.rs')
| -rw-r--r-- | src/client/bridge/gateway/shard_queuer.rs | 4 |
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. /// |