diff --git a/Cargo.toml b/Cargo.toml index 2cbc5ea..0ac7c84 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] @@ -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", @@ -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]