Skip to content

Commit

Permalink
Update to tungstenite 0.23 and disable default features for some crates
Browse files Browse the repository at this point in the history
  • Loading branch information
sdroege committed Jun 2, 2024
1 parent a3673f2 commit 2da8207
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ futures-io = { version = "0.3", default-features = false, features = ["std"] }
pin-project-lite = "0.2"

[dependencies.tungstenite]
version = "0.21"
version = "0.23"
default-features = false

[dependencies.async-std]
Expand All @@ -61,6 +61,8 @@ version = "0.10"
optional = true
version = "0.13"
package = "async-tls"
default-features = false
features = ["client"]

[dependencies.real-async-native-tls]
optional = true
Expand All @@ -76,6 +78,7 @@ package = "native-tls"
optional = true
version = "1.0"
features = ["net"]
default-features = false

[dependencies.real-tokio-native-tls]
optional = true
Expand All @@ -86,6 +89,7 @@ package = "tokio-native-tls"
optional = true
version = "0.26"
package = "tokio-rustls"
default-features = false

[dependencies.rustls-pki-types]
optional = true
Expand Down Expand Up @@ -118,6 +122,10 @@ hyper = { version = "1.0", default-features = false, features = ["http1", "serve
hyper-util = { version = "0.1", features = ["tokio"] }
http-body-util = "0.1"

[dev-dependencies.tungstenite]
version = "0.23"
features = ["url"]

[[example]]
name = "autobahn-client"
required-features = ["async-std-runtime"]
Expand Down

0 comments on commit 2da8207

Please sign in to comment.