diff --git a/Cargo.toml b/Cargo.toml index f18f42a..4a246ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ license = "ISC" name = "songbird" readme = "README.md" repository = "https://github.com/serenity-rs/songbird.git" -rust-version = "1.72" +rust-version = "1.74" version = "0.3.2" [dependencies] @@ -36,6 +36,8 @@ rusty_pool = { optional = true, version = "0.7" } serde = { version = "1", features = ["derive"] } serde-aux = { optional = true, version = "4"} serde_json = "1" +serenity = { optional = true, version = "0.12.0-rc", features = ["voice", "gateway"] } +serenity-voice-model = { optional = true, version = "0.1" } simd-json = { features = ["serde_impl"], optional = true, version = "0.13" } socket2 = { optional = true, version = "0.5" } streamcatcher = { optional = true, version = "1" } @@ -52,16 +54,6 @@ typemap_rev = { optional = true, version = "0.3" } url = { optional = true, version = "2" } uuid = { features = ["v4"], optional = true, version = "1" } -[dependencies.serenity] -version = "0.11" -default-features = false -features = ["voice", "gateway"] -optional = true - -[dependencies.serenity-voice-model] -version = "0.11" -optional = true - [dev-dependencies] byteorder = "1" criterion = "0.5" diff --git a/examples/serenity/voice/Cargo.toml b/examples/serenity/voice/Cargo.toml index 1d7cb52..5b952ff 100644 --- a/examples/serenity/voice/Cargo.toml +++ b/examples/serenity/voice/Cargo.toml @@ -5,6 +5,7 @@ authors = ["my name "] edition = "2021" [dependencies] +serenity = { version = "0.12.0-rc", features = ["client", "standard_framework", "voice", "rustls_backend"] } symphonia = { features = ["aac", "mp3", "isomp4", "alac"], version = "0.5.2" } tracing = "0.1" tracing-subscriber = "0.2" @@ -14,10 +15,6 @@ reqwest = "0.11" [dependencies.songbird] path = "../../../" -[dependencies.serenity] -version = "0.11" -features = ["client", "standard_framework", "voice", "rustls_backend"] - [dependencies.tokio] version = "1.0" features = ["macros", "rt-multi-thread", "signal"] diff --git a/examples/serenity/voice_cached_audio/Cargo.toml b/examples/serenity/voice_cached_audio/Cargo.toml index 3af78c4..b05d3a5 100644 --- a/examples/serenity/voice_cached_audio/Cargo.toml +++ b/examples/serenity/voice_cached_audio/Cargo.toml @@ -5,6 +5,7 @@ authors = ["my name "] edition = "2021" [dependencies] +serenity = { version = "0.12.0-rc", features = ["cache", "framework", "standard_framework", "voice", "http", "rustls_backend"] } symphonia = { features = ["mp3"], version = "0.5.2" } tracing = "0.1" tracing-subscriber = "0.2" @@ -13,10 +14,6 @@ tracing-futures = "0.2" [dependencies.songbird] path = "../../../" -[dependencies.serenity] -version = "0.11" -features = ["cache", "framework", "standard_framework", "voice", "http", "rustls_backend"] - [dependencies.tokio] version = "1.0" features = ["macros", "rt-multi-thread"] diff --git a/examples/serenity/voice_events_queue/Cargo.toml b/examples/serenity/voice_events_queue/Cargo.toml index a63f6a2..0db5caa 100644 --- a/examples/serenity/voice_events_queue/Cargo.toml +++ b/examples/serenity/voice_events_queue/Cargo.toml @@ -6,6 +6,7 @@ edition = "2021" [dependencies] reqwest = "0.11" +serenity = { version = "0.12.0-rc", features = ["client", "standard_framework", "voice", "rustls_backend"] } symphonia = { features = ["aac", "mp3", "isomp4", "alac"], version = "0.5.2" } tracing = "0.1" tracing-subscriber = "0.2" @@ -15,10 +16,6 @@ tracing-futures = "0.2" features = ["builtin-queue"] path = "../../../" -[dependencies.serenity] -version = "0.11" -features = ["cache", "standard_framework", "voice", "rustls_backend"] - [dependencies.tokio] version = "1.0" features = ["macros", "rt-multi-thread", "signal"] diff --git a/examples/serenity/voice_receive/Cargo.toml b/examples/serenity/voice_receive/Cargo.toml index a99363b..1531e5c 100644 --- a/examples/serenity/voice_receive/Cargo.toml +++ b/examples/serenity/voice_receive/Cargo.toml @@ -6,6 +6,7 @@ edition = "2021" [dependencies] dashmap = "5" +serenity = { version = "0.12.0-rc", features = ["client", "standard_framework", "voice", "rustls_backend"] } tracing = "0.1" tracing-subscriber = "0.2" tracing-futures = "0.2" @@ -14,10 +15,6 @@ tracing-futures = "0.2" features = ["receive"] path = "../../../" -[dependencies.serenity] -version = "0.11" -features = ["client", "standard_framework", "voice", "rustls_backend"] - [dependencies.tokio] version = "1.0" features = ["macros", "rt-multi-thread"]