aboutsummaryrefslogtreecommitdiff
path: root/examples/01_basic_ping_bot/Cargo.toml
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2018-02-04 07:50:53 -0800
committerZeyla Hellyer <[email protected]>2018-02-04 07:54:31 -0800
commita9966371def331cd848f642e222627ee9decf354 (patch)
tree316c75854ddea79230f98b66708c3f815b836227 /examples/01_basic_ping_bot/Cargo.toml
parentPartially revert the video url change (diff)
downloadserenity-a9966371def331cd848f642e222627ee9decf354.tar.xz
serenity-a9966371def331cd848f642e222627ee9decf354.zip
Rewrite the library to use Futures
Rewrites the library to use Futures. This rewrites all of the gateway, client, cache, most model methods, HTTP, and in a later commit the framework and voice. HTTP has been mostly rewritten to be ergonomic so that it can be used by the user, and has been upgraded to hyper v0.11. The gateway now uses `tokio-tungstenite` v0.4. The client isn't yet in a working state. The models now have a `client` optionally attached to them to make use of `http` and `cache`-utilizing methods. The client isn't needed, in the case that someone is using the library just to deserialize models. The cache is now built around `Rc`s and `RefCell`s, instead of `Arc`s and `RwLock`s. Refer to example 01 for a working example. Much of the library still doesn't work.
Diffstat (limited to 'examples/01_basic_ping_bot/Cargo.toml')
-rw-r--r--examples/01_basic_ping_bot/Cargo.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/01_basic_ping_bot/Cargo.toml b/examples/01_basic_ping_bot/Cargo.toml
index 30ce62c..7c30ce7 100644
--- a/examples/01_basic_ping_bot/Cargo.toml
+++ b/examples/01_basic_ping_bot/Cargo.toml
@@ -4,4 +4,6 @@ version = "0.1.0"
authors = ["my name <[email protected]>"]
[dependencies]
+futures-await = "~0.1"
serenity = { path = "../../", default-features = true }
+tokio-core = "~0.1"