Skip to content

Commit

Permalink
Fix Tungstenite build error caused by the URL feature
Browse files Browse the repository at this point in the history
Since tungstenite 0.22.0, support for url::Url has become an optional feature, which breaks message-io builds.
This commit updates tungstenite to versions greater than or equal to 0.22.0 and requires the URL feature to fix builds.
  • Loading branch information
TechnoPorg committed Jun 5, 2024
1 parent 0781402 commit 56b7984
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ crossbeam-utils = "0.8"
log = "0.4"
strum = { version = "0.24", features = ["derive"] }
socket2 = { version = "0.5.1", features = ["all"], optional = true}
tungstenite = { version = ">=0.20.1", optional = true }
tungstenite = { version = ">=0.22.0", features = ["url"], optional = true }
url = { version = "2.2", optional = true }
integer-encoding = "3.0.2"
lazy_static = "1.4.0"
Expand Down

0 comments on commit 56b7984

Please sign in to comment.