[package]
edition = "2021"
rust-version = "1.96"
name = "churust-core"
version = "0.2.0"
authors = ["David Cruz Anaya <david.cruz@davthecoder.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core engine, routing, pipeline, and extractors for the Churust web framework."
homepage = "https://github.com/davthecoder/Churust"
readme = "README.md"
keywords = [
"web",
"framework",
"http",
"ktor",
"async",
]
categories = [
"web-programming::http-server",
"asynchronous",
"network-programming",
]
license = "MIT"
repository = "https://github.com/davthecoder/Churust"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
fs = ["tokio/fs"]
tls = [
"dep:rustls",
"dep:tokio-rustls",
"dep:rustls-pemfile",
]
ws = ["dep:tokio-tungstenite"]
[lib]
name = "churust_core"
path = "src/lib.rs"
[[test]]
name = "engine_serve"
path = "tests/engine_serve.rs"
[[test]]
name = "head_options"
path = "tests/head_options.rs"
[[test]]
name = "streaming"
path = "tests/streaming.rs"
[[test]]
name = "timeout"
path = "tests/timeout.rs"
[[test]]
name = "traversal"
path = "tests/traversal.rs"
[[test]]
name = "websocket"
path = "tests/websocket.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.bytes]
version = "1"
[dependencies.futures-util]
version = "0.3"
[dependencies.http]
version = "1"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1"
features = [
"http1",
"server",
]
[dependencies.hyper-util]
version = "0.1"
features = [
"tokio",
"server",
"server-auto",
"server-graceful",
]
[dependencies.rustls]
version = "0.23"
optional = true
[dependencies.rustls-pemfile]
version = "2"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_urlencoded]
version = "0.7"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"net",
"io-util",
"time",
"sync",
"signal",
"macros",
]
[dependencies.tokio-rustls]
version = "0.26"
optional = true
[dependencies.tokio-tungstenite]
version = "0.26"
optional = true
[dependencies.toml]
version = "0.8"
[dev-dependencies.tokio-tungstenite]
version = "0.26"