diff options
| author | Alex Lyon <[email protected]> | 2017-07-13 21:30:00 -0700 |
|---|---|---|
| committer | alex <[email protected]> | 2017-07-14 06:30:00 +0200 |
| commit | 88765d0a978001ff88a1ee12798a725b7f5a90e9 (patch) | |
| tree | d66970df218ac9e9c4aa3b038e56ee6ce7c81292 /Cargo.toml | |
| parent | Fix the doc on `PrivateChannel::name` (diff) | |
| download | serenity-88765d0a978001ff88a1ee12798a725b7f5a90e9.tar.xz serenity-88765d0a978001ff88a1ee12798a725b7f5a90e9.zip | |
Switch to tokio for events (#122)
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -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 = [] |