[package]
edition = "2021"
name = "h2ts-server"
version = "0.1.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Make a WebSocket look like raw TCP, and serve/proxy HTTP/2 over it. Framed by wslay for true sub-frame streaming. Includes the h2ts-proxy binary."
documentation = "https://docs.rs/h2ts-server"
readme = "README.md"
keywords = [
"websocket",
"http2",
"tunnel",
"proxy",
"async",
]
categories = [
"network-programming",
"web-programming::websocket",
"asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/debdattabasu/h2ts"
[lib]
name = "h2ts_server"
path = "src/lib.rs"
[[bin]]
name = "h2ts-proxy"
path = "src/bin/h2ts-proxy.rs"
[[example]]
name = "h2-server"
path = "examples/h2-server.rs"
[[test]]
name = "backpressure"
path = "tests/backpressure.rs"
[[test]]
name = "bridge"
path = "tests/bridge.rs"
[[test]]
name = "byte_stream"
path = "tests/byte_stream.rs"
[[test]]
name = "control_frames"
path = "tests/control_frames.rs"
[[test]]
name = "handshake"
path = "tests/handshake.rs"
[[test]]
name = "idle_timeout"
path = "tests/idle_timeout.rs"
[[test]]
name = "proxy"
path = "tests/proxy.rs"
[[test]]
name = "serve_h2"
path = "tests/serve_h2.rs"
[[test]]
name = "serve_h2_with"
path = "tests/serve_h2_with.rs"
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1"
[dependencies.http]
version = "1"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1"
features = [
"http1",
"http2",
"server",
"client",
]
[dependencies.hyper-util]
version = "0.1"
features = ["tokio"]
[dependencies.pin-project-lite]
version = "0.2"
[dependencies.sha1]
version = "0.10"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.wslay-sys]
version = "0.1.1"
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.fastwebsockets]
version = "0.10"
features = [
"upgrade",
"unstable-split",
]