Skip to content

Commit

Permalink
Deps: Prevent MSRV breakage via spinning_top (#64)
Browse files Browse the repository at this point in the history
The upstream crate `spinning_top` used newer elements of rustc's std in a patch release, unknowingly bumping its MSRV to 1.49.0. This patch reverts to the older, compatible, version.

This has been tested by manually building `examples/serenity/voice` using rustc v1.48.0.

Closes #62.
  • Loading branch information
FelixMcFelix authored Apr 10, 2021
1 parent 24d8da6 commit a88b185
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ version = "0.1"
optional = true
version = "1"

# TEMPORARY: remove on next breaking.
[dependencies.spinning_top]
optional = true
version = "=0.2.2"

[dependencies.streamcatcher]
optional = true
version = "0.1"
Expand Down Expand Up @@ -142,6 +147,7 @@ gateway-core = [
"dashmap",
"flume",
"parking_lot",
"spinning_top",
]
driver = [
"async-tungstenite",
Expand All @@ -165,6 +171,7 @@ driver-core = [
"rand",
"serenity-voice-model",
"spin_sleep",
"spinning_top",
"streamcatcher",
"typemap_rev",
"url",
Expand Down

0 comments on commit a88b185

Please sign in to comment.