From 6a35ba75a7ce0dd51249d8825faa0fc6812a221a Mon Sep 17 00:00:00 2001 From: Tanner Rogalsky Date: Sat, 16 Mar 2024 18:51:54 +0000 Subject: [PATCH] Version and category improvements --- Cargo.toml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) 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]