serverkit-hyper 0.1.0

Hyper HTTP/1 and HTTP/2 adapter for ServerKit
Documentation
[package]
name = "serverkit-hyper"
version = "0.1.0"
edition = "2024"
description = "Hyper HTTP/1 and HTTP/2 adapter for ServerKit"
license.workspace = true
repository.workspace = true

[features]
default = []
websocket = ["serverkit/websocket", "dep:futures-util", "dep:tokio-tungstenite"]

[dependencies]
serverkit = { version = "0.1.0", path = "../.." }
hyper = { version = "1", features = ["server"] }
hyper-util = { version = "0.1", features = ["server-auto", "tokio"] }
tokio = { version = "1", features = ["net", "rt"] }
futures-util = { version = "0.3", features = ["sink"], optional = true }
tokio-tungstenite = { version = "0.29", optional = true }

[dev-dependencies]
http-body-util = "0.1"
hyper = { version = "1", features = ["client"] }
tokio = { version = "1", features = ["io-util", "net", "rt"] }