diff --git a/Cargo.lock b/Cargo.lock index 3928978..9e18965 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1924,10 +1924,12 @@ name = "youmubot-core" version = "0.1.0" dependencies = [ "chrono 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", + "futures-util 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.110 (registry+https://github.com/rust-lang/crates.io-index)", - "serenity 0.8.6 (registry+https://github.com/rust-lang/crates.io-index)", + "serenity 0.9.0-rc.0 (registry+https://github.com/rust-lang/crates.io-index)", "static_assertions 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio 0.2.21 (registry+https://github.com/rust-lang/crates.io-index)", "youmubot-db 0.1.0", "youmubot-prelude 0.1.0", ] diff --git a/youmubot-core/Cargo.toml b/youmubot-core/Cargo.toml index 407431c..4218f4e 100644 --- a/youmubot-core/Cargo.toml +++ b/youmubot-core/Cargo.toml @@ -7,11 +7,13 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -serenity = "0.8" +serenity = { version = "0.9.0-rc.0", features = ["collector"] } rand = "0.7" serde = { version = "1", features = ["derive"] } chrono = "0.4" static_assertions = "1.1" +futures-util = "0.3" +tokio = { version = "0.2", features = ["time"] } youmubot-db = { path = "../youmubot-db" } youmubot-prelude = { path = "../youmubot-prelude" }