Skip to content

Commit

Permalink
Chore: Upgrade serenity to 0.12.0-rc
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixMcFelix committed Nov 20, 2023
1 parent 0ef0e4f commit 1487da1
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 27 deletions.
14 changes: 3 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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" }
Expand All @@ -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"
Expand Down
5 changes: 1 addition & 4 deletions examples/serenity/voice/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ authors = ["my name <my@email.address>"]
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"
Expand All @@ -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"]
5 changes: 1 addition & 4 deletions examples/serenity/voice_cached_audio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ authors = ["my name <my@email.address>"]
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"
Expand All @@ -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"]
5 changes: 1 addition & 4 deletions examples/serenity/voice_events_queue/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"]
5 changes: 1 addition & 4 deletions examples/serenity/voice_receive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"]

0 comments on commit 1487da1

Please sign in to comment.