Skip to content

Commit

Permalink
Version and category improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
TannerRogalsky committed Mar 16, 2024
1 parent b16bc63 commit 6a35ba7
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@ repository = "https://github.com/TannerRogalsky/tokio-tungstenite-wasm"
homepage = "https://github.com/TannerRogalsky/tokio-tungstenite-wasm"
license-file = "LICENSE"
readme = "README.md"
edition = "2018"
edition = "2021"
categories = [
"wasm",
"web-programming::websocket",
"asynchronous",
"network-programming",
]
keywords = ["websocket", "cross-platform", "wasm", "tokio"]

[features]
native-tls = ["tokio-tungstenite/native-tls", "dep:native-tls"]
Expand All @@ -22,8 +29,8 @@ rustls-tls-webpki-roots = [
__rustls-tls = ["dep:rustls"]

[dependencies]
thiserror = "1"
http = "1"
thiserror = "1.0"
http = "1.1"
httparse = "1.3"
futures-util = { version = "0.3", default-features = false, features = [
"sink",
Expand All @@ -33,9 +40,9 @@ futures-util = { version = "0.3", default-features = false, features = [

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio-tungstenite = "0.21"
tokio = { version = "1", default-features = false, features = ["net"] }
tokio = { version = "1.36", default-features = false, features = ["net"] }
native-tls = { version = "0.2", default-features = false, optional = true }
rustls = { version = "0.22", default-features = false, optional = true }
rustls = { version = "0.23", default-features = false, optional = true }


[target.'cfg(target_arch = "wasm32")'.dependencies]
Expand Down

0 comments on commit 6a35ba7

Please sign in to comment.