From a36b5893b75871b663c8903f9aac17959b70dc62 Mon Sep 17 00:00:00 2001 From: "Alex M. M" Date: Sun, 15 Nov 2020 19:49:53 +0100 Subject: [PATCH] Deps: Depend on Serenity's `next` branch on Songbird's `next` branch (#6) * Depend on Serenity's `next` branch on Songbird's `next` branch * Update the examples to use the `next` branch --- Cargo.toml | 6 ++++-- examples/serenity/voice/Cargo.toml | 3 ++- examples/serenity/voice_events_queue/Cargo.toml | 3 ++- examples/serenity/voice_receive/Cargo.toml | 3 ++- examples/serenity/voice_storage/Cargo.toml | 3 ++- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 27a7e3112..c79eae5bc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -74,13 +74,15 @@ version = "0.8" [dependencies.serenity] optional = true -version = "^0.10.2" default-features = false features = ["voice", "gateway"] +git = "https://github.com/serenity-rs/serenity" +branch = "next" [dependencies.serenity-voice-model] optional = true -version = "0.1" +git = "https://github.com/serenity-rs/serenity" +branch = "next" [dependencies.spin_sleep] optional = true diff --git a/examples/serenity/voice/Cargo.toml b/examples/serenity/voice/Cargo.toml index f4c8b46e3..82879229c 100644 --- a/examples/serenity/voice/Cargo.toml +++ b/examples/serenity/voice/Cargo.toml @@ -13,8 +13,9 @@ tracing-futures = "0.2" path = "../../../" [dependencies.serenity] -version = "0.10" features = ["client", "standard_framework", "voice", "rustls_backend"] +git = "https://github.com/serenity-rs/serenity" +branch = "next" [dependencies.tokio] version = "1.0" diff --git a/examples/serenity/voice_events_queue/Cargo.toml b/examples/serenity/voice_events_queue/Cargo.toml index 53feda06e..b21910c5f 100644 --- a/examples/serenity/voice_events_queue/Cargo.toml +++ b/examples/serenity/voice_events_queue/Cargo.toml @@ -14,8 +14,9 @@ features = ["builtin-queue"] path = "../../../" [dependencies.serenity] -version = "0.10" features = ["cache", "standard_framework", "voice", "rustls_backend"] +git = "https://github.com/serenity-rs/serenity" +branch = "next" [dependencies.tokio] version = "1.0" diff --git a/examples/serenity/voice_receive/Cargo.toml b/examples/serenity/voice_receive/Cargo.toml index 9f48616c8..3670d5798 100644 --- a/examples/serenity/voice_receive/Cargo.toml +++ b/examples/serenity/voice_receive/Cargo.toml @@ -13,8 +13,9 @@ tracing-futures = "0.2" path = "../../../" [dependencies.serenity] -version = "0.10" features = ["client", "standard_framework", "voice", "rustls_backend"] +git = "https://github.com/serenity-rs/serenity" +branch = "next" [dependencies.tokio] version = "1.0" diff --git a/examples/serenity/voice_storage/Cargo.toml b/examples/serenity/voice_storage/Cargo.toml index ce34dee1f..3e4731990 100644 --- a/examples/serenity/voice_storage/Cargo.toml +++ b/examples/serenity/voice_storage/Cargo.toml @@ -13,8 +13,9 @@ tracing-futures = "0.2" path = "../../../" [dependencies.serenity] -version = "0.10" features = ["cache", "framework", "standard_framework", "voice", "http", "rustls_backend"] +git = "https://github.com/serenity-rs/serenity" +branch = "next" [dependencies.tokio] version = "1.0"