[package]
edition = "2021"
name = "lightws"
version = "0.6.14"
authors = ["zephyr <i@zephyr.moe>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight websocket implement for stream transmission."
documentation = "https://docs.rs/lightws"
readme = "README.md"
keywords = [
"websocket",
"network",
"stream",
"async",
]
license = "MIT"
repository = "https://github.com/zephyrchien/lightws"
[features]
async = ["tokio"]
default = ["async"]
unsafe_auto_mask_write = []
[lib]
name = "lightws"
path = "src/lib.rs"
[[test]]
name = "async_bidi_copy"
path = "tests/async_bidi_copy.rs"
[[test]]
name = "async_echo"
path = "tests/async_echo.rs"
[[test]]
name = "async_handshake"
path = "tests/async_handshake.rs"
[[test]]
name = "async_read_write"
path = "tests/async_read_write.rs"
[[test]]
name = "auto_mask"
path = "tests/auto_mask.rs"
[[test]]
name = "sync_bidi_copy"
path = "tests/sync_bidi_copy.rs"
[[test]]
name = "sync_echo"
path = "tests/sync_echo.rs"
[[test]]
name = "sync_handshake"
path = "tests/sync_handshake.rs"
[[test]]
name = "sync_read_write"
path = "tests/sync_read_write.rs"
[dependencies.base64]
version = "0.22"
[dependencies.cfg-if]
version = "1"
[dependencies.httparse]
version = "1"
[dependencies.rand]
version = "0.10"
[dependencies.sha1]
version = "0.11"
[dependencies.tokio]
version = "1"
optional = true
[dev-dependencies.env_logger]
version = "0.11"
[dev-dependencies.log]
version = "0.4"
[dev-dependencies.tokio]
version = "1"
features = ["full"]