folk-plugin-http 0.2.1

HTTP plugin for Folk — accepts connections via hyper and dispatches to PHP workers
Documentation
[package]
name = "folk-plugin-http"
version = "0.2.1"
edition = "2024"
rust-version = "1.85"
license = "MIT"
description = "HTTP plugin for Folk — accepts connections via hyper and dispatches to PHP workers"
repository = "https://github.com/Folk-Project/folk-plugin-http"
homepage = "https://github.com/Folk-Project"
keywords = ["folk", "php", "http", "plugin"]
categories = ["asynchronous", "web-programming"]

[dependencies]
folk-api = "0.2"

tokio = { version = "1", features = ["full"] }
axum = "0.8"
bytes = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
async-trait = "0.1"
anyhow = "1"
tracing = "0.1"
humantime-serde = "1"
tower = { version = "0.5", features = ["limit", "timeout"] }
tower-http = { version = "0.6", features = ["timeout", "limit", "compression-full"] }
ipnet = { version = "2", features = ["serde"] }
axum-server = { version = "0.8", features = ["tls-rustls"], optional = true }
hyper-util = { version = "0.1", features = ["http1", "http2", "server-auto", "tokio"], optional = true }
hyper = { version = "1", optional = true }

[features]
default = ["tls"]
tls = ["dep:axum-server"]
h2c = ["dep:hyper-util", "dep:hyper"]

[dev-dependencies]
tokio = { version = "1", features = ["full"] }
toml = "0.8"