diff options
| author | Zeyla Hellyer <[email protected]> | 2017-09-30 21:19:29 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-10-09 10:57:39 -0700 |
| commit | d7621aa4dfb2a3dea22e7848eb97e2b4cc1ade14 (patch) | |
| tree | 842f96b915ffc6252ee3e191b68c0811eac35b9e /Cargo.toml | |
| parent | Generate `Default` for CurrentUser and use it in `Cache::default` (diff) | |
| download | serenity-d7621aa4dfb2a3dea22e7848eb97e2b4cc1ade14.tar.xz serenity-d7621aa4dfb2a3dea22e7848eb97e2b4cc1ade14.zip | |
Add a threadpool to the shard runner
A threadpool will help with giving event dispatches a threaded behaviour
while still allowing the library the ability to perform other actions,
such as receiving new events and heartbeating over the websocket client.
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -68,6 +68,10 @@ default-features = false optional = true version = "0.0.14" +[dependencies.threadpool] +optional = true +version = "~1.7" + [dependencies.typemap] optional = true version = "~0.3" @@ -101,6 +105,7 @@ client = [ "http", "lazy_static", "parking_lot", + "threadpool", "typemap", ] extras = [] |