[package]
edition = "2024"
name = "wsio-client"
version = "0.8.2"
authors = ["kiki-kanri"]
build = false
include = [
"Cargo.toml",
"README.md",
"src/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight async WebSocket client for ws.io — provides event-based real-time messaging with a Socket.IO-inspired API."
homepage = "https://github.com/ws-io/ws.io-rs"
readme = "README.md"
keywords = [
"messaging",
"network",
"realtime",
"websocket",
"ws",
]
categories = [
"asynchronous",
"concurrency",
"network-programming",
"web-programming::websocket",
]
license = "MIT"
repository = "https://github.com/ws-io/ws.io-rs"
[features]
all = [
"packet-codec-cbor",
"packet-codec-msgpack",
"packet-codec-postcard",
"packet-codec-sonic-rs",
"tls-rustls-webpki",
]
default = []
full = ["all"]
packet-codec-cbor = ["wsio-core/packet-codec-cbor"]
packet-codec-msgpack = ["wsio-core/packet-codec-msgpack"]
packet-codec-postcard = ["wsio-core/packet-codec-postcard"]
packet-codec-sonic-rs = ["wsio-core/packet-codec-sonic-rs"]
tls-native = ["tokio-tungstenite/native-tls"]
tls-rustls-native = ["tokio-tungstenite/rustls-tls-native-roots"]
tls-rustls-webpki = ["tokio-tungstenite/rustls-tls-webpki-roots"]
tracing = ["dep:tracing"]
[lib]
name = "wsio_client"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1.0.100"
[dependencies.arc-swap]
version = "1.8.0"
[dependencies.futures-util]
version = "0.3.31"
default-features = false
[dependencies.kikiutils]
version = "0.7.2"
features = ["atomic-enum-cell"]
[dependencies.num_enum]
version = "0.7.5"
[dependencies.serde]
version = "1.0.228"
[dependencies.tokio]
version = "1.49.0"
features = [
"macros",
"rt",
"sync",
"time",
]
[dependencies.tokio-tungstenite]
version = "0.28.0"
[dependencies.tokio-util]
version = "0.7.18"
[dependencies.tracing]
version = "0.1.44"
optional = true
[dependencies.url]
version = "2.5.7"
[dependencies.wsio-core]
version = "0.12.2"