[package]
edition = "2021"
name = "sova-ws"
version = "0.1.1"
authors = ["Pavel Kuzmin <Virus191288@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WebSocket plugin for Sova"
homepage = "https://s00d.github.io/sova/"
documentation = "https://docs.rs/sova-ws"
readme = "README.md"
keywords = [
"http",
"web",
"framework",
"async",
]
categories = [
"web-programming::http-server",
"network-programming",
]
license = "MIT"
repository = "https://github.com/s00d/sova"
[lib]
name = "sova_ws"
path = "src/lib.rs"
[[test]]
name = "ws"
path = "tests/ws.rs"
[[test]]
name = "ws_h2c"
path = "tests/ws_h2c.rs"
[dependencies.bytes]
version = "1"
[dependencies.futures-util]
version = "0.3"
features = [
"std",
"sink",
]
default-features = false
[dependencies.http]
version = "1"
[dependencies.hyper]
version = "1"
features = [
"server",
"client",
"http2",
]
[dependencies.hyper-util]
version = "0.1"
features = [
"tokio",
"client-legacy",
"http2",
]
[dependencies.sova-core]
version = "0.1.3"
[dependencies.tokio]
version = "1"
features = ["sync"]
[dependencies.tokio-tungstenite]
version = "0.26"
features = [
"connect",
"connect",
]
default-features = false
[dependencies.tracing]
version = "0.1"
[dev-dependencies.futures-util]
version = "0.3"
features = [
"std",
"std",
]
default-features = false
[dev-dependencies.http]
version = "1"
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.sova-core]
version = "0.1.3"
features = ["testing"]
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"net",
"time",
"io-util",
]
[dev-dependencies.tokio-tungstenite]
version = "0.26"
features = [
"connect",
"connect",
]
default-features = false