aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorAlex Lyon <[email protected]>2017-07-13 21:30:00 -0700
committeralex <[email protected]>2017-07-14 06:30:00 +0200
commit88765d0a978001ff88a1ee12798a725b7f5a90e9 (patch)
treed66970df218ac9e9c4aa3b038e56ee6ce7c81292 /Cargo.toml
parentFix the doc on `PrivateChannel::name` (diff)
downloadserenity-88765d0a978001ff88a1ee12798a725b7f5a90e9.tar.xz
serenity-88765d0a978001ff88a1ee12798a725b7f5a90e9.zip
Switch to tokio for events (#122)
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml15
1 files changed, 13 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 5909612..04dfb7c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,6 +27,10 @@ version = "1.0"
features = ["serde"]
version = "~0.4"
+[dependencies.futures]
+optional = true
+version = "0.1"
+
[dependencies.hyper]
optional = true
version = "~0.10"
@@ -51,13 +55,20 @@ version = "0.1"
[dependencies.opus]
optional = true
-version = "0.1"
+version = "0.2"
+
+[dependencies.parking_lot]
+version = "0.4"
[dependencies.sodiumoxide]
default-features = false
optional = true
version = "0.0.12"
+[dependencies.tokio-core]
+optional = true
+version = "0.1"
+
[dependencies.typemap]
optional = true
version = "~0.3"
@@ -84,7 +95,7 @@ cache = ["lazy_static"]
client = ["gateway", "lazy_static", "http", "typemap"]
extras = []
framework = ["client", "model", "utils"]
-gateway = ["http", "websocket"]
+gateway = ["http", "websocket", "tokio-core", "futures"]
http = ["hyper", "hyper-native-tls", "lazy_static", "multipart", "native-tls"]
model = ["builder", "http"]
utils = []