[package]
edition = "2024"
name = "wsio-server"
version = "0.12.2"
authors = ["kiki-kanri"]
build = false
include = [
"Cargo.toml",
"README.md",
"src/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async WebSocket server framework for ws.io — provides event-based real-time messaging, namespaces, and room-like broadcasting."
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 = [
"connection-extensions",
"packet-codec-cbor",
"packet-codec-msgpack",
"packet-codec-postcard",
"packet-codec-sonic-rs",
"tower",
]
connection-extensions = []
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"]
tower = [
"dep:tower-layer",
"dep:tower-service",
]
[lib]
name = "wsio_server"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1.0.102"
[dependencies.arc-swap]
version = "1.9.1"
[dependencies.futures-util]
version = "0.3.32"
default-features = false
[dependencies.http]
version = "1.4.0"
[dependencies.http-body]
version = "1.0.1"
[dependencies.hyper]
version = "1.9.0"
[dependencies.hyper-util]
version = "0.1.19"
features = ["tokio"]
[dependencies.kikiutils]
version = "0.7.2"
features = [
"atomic-enum-cell",
"fx-collections",
]
[dependencies.num_enum]
version = "0.7.6"
[dependencies.parking_lot]
version = "0.12.5"
[dependencies.roaring]
version = "0.11.4"
[dependencies.serde]
version = "1.0.228"
[dependencies.tokio]
version = "1.52.1"
features = [
"macros",
"rt",
"sync",
"time",
]
[dependencies.tokio-tungstenite]
version = "0.29.0"
features = ["handshake"]
default-features = false
[dependencies.tokio-util]
version = "0.7.18"
[dependencies.tower-layer]
version = "0.3.3"
optional = true
[dependencies.tower-service]
version = "0.3.3"
optional = true
[dependencies.url]
version = "2.5.8"
[dependencies.wsio-core]
version = "0.12.5"
[dev-dependencies.axum]
version = "0.8.9"
features = ["ws"]