Skip to content

Commit 77858e5

Browse files
authored
Fix Tungstenite build error caused by the URL feature (#174)
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.
1 parent 0781402 commit 77858e5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ crossbeam-utils = "0.8"
3131
log = "0.4"
3232
strum = { version = "0.24", features = ["derive"] }
3333
socket2 = { version = "0.5.1", features = ["all"], optional = true}
34-
tungstenite = { version = ">=0.20.1", optional = true }
34+
tungstenite = { version = ">=0.22.0", features = ["url"], optional = true }
3535
url = { version = "2.2", optional = true }
3636
integer-encoding = "3.0.2"
3737
lazy_static = "1.4.0"

0 commit comments

Comments
 (0)