[package]
edition = "2024"
name = "fastwebsockets-stream"
version = "0.1.2"
authors = ["Evgeniy Zakharov <eugenezakharov7@gmail.com"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
An adapter that exposes fastwebsockets::WebSocket as a Tokio AsyncRead/AsyncWrite stream.
"""
homepage = "https://github.com/evgeniygem/fastwebsockets-stream"
documentation = "https://docs.rs/fastwebsockets-stream"
readme = "README.md"
keywords = [
"websocket",
"tokio",
"fastwebsockets",
"stream",
"async",
]
categories = [
"asynchronous",
"network-programming",
"web-programming",
]
license = "MIT"
repository = "https://github.com/evgeniygem/fastwebsockets-stream"
[lib]
name = "fastwebsockets_stream"
path = "src/lib.rs"
[[test]]
name = "binary"
path = "tests/binary.rs"
[[test]]
name = "close"
path = "tests/close.rs"
[[test]]
name = "error"
path = "tests/error.rs"
[[test]]
name = "error_consistency"
path = "tests/error_consistency.rs"
[[test]]
name = "fragmentation"
path = "tests/fragmentation.rs"
[[test]]
name = "framed"
path = "tests/framed.rs"
[[test]]
name = "lifecycle"
path = "tests/lifecycle.rs"
[[test]]
name = "ping"
path = "tests/ping.rs"
[[test]]
name = "shutdown"
path = "tests/shutdown.rs"
[[test]]
name = "text"
path = "tests/text.rs"
[dependencies.bytes]
version = "1"
[dependencies.fastwebsockets]
version = "0.10"
[dependencies.futures]
version = "0.3"
[dependencies.tokio]
version = "1"
[dev-dependencies.bytes]
version = "1.10.1"
[dev-dependencies.fastwebsockets]
version = "0.10.0"
features = ["upgrade"]
[dev-dependencies.futures]
version = "0"
[dev-dependencies.http-body-util]
version = "0.1.3"
[dev-dependencies.hyper]
version = "1.7.0"
features = ["full"]
[dev-dependencies.hyper-util]
version = "0.1.17"
features = ["full"]
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.tokio-util]
version = "0.7.16"
features = ["codec"]