[package]
edition = "2024"
name = "wae-https"
version = "0.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WAE HTTPS - HTTP/HTTPS 服务核心模块,构建器模式、中间件、统一响应"
homepage = "https://github.com/oovm/wae/tree/main/backends/wae-https"
documentation = "https://docs.rs/wae-https"
readme = "README.md"
keywords = [
"http",
"https",
"server",
"tls",
"hyper",
]
categories = [
"web-programming",
"network-programming",
]
license = "MIT"
repository = "https://github.com/oovm/wae/tree/main/backends/wae-https"
resolver = "2"
[lib]
name = "wae_https"
path = "src/lib.rs"
[[test]]
name = "cors_tests"
path = "tests/cors_tests.rs"
[[test]]
name = "error_tests"
path = "tests/error_tests.rs"
[[test]]
name = "extract_tests"
path = "tests/extract_tests.rs"
[[test]]
name = "main"
path = "tests/main.rs"
[[test]]
name = "template_tests"
path = "tests/template_tests.rs"
[dependencies.askama]
version = "0.15.4"
[dependencies.bytes]
version = "1.11.1"
[dependencies.futures-util]
version = "0.3.32"
[dependencies.http]
version = "1.4.0"
[dependencies.http-body]
version = "1.0.1"
[dependencies.http-body-util]
version = "0.1.3"
[dependencies.hyper]
version = "1.8.1"
features = ["full"]
[dependencies.hyper-util]
version = "0.1.20"
features = [
"tokio",
"http1",
"http2",
"service",
]
[dependencies.matchit]
version = "0.9"
[dependencies.mime_guess]
version = "2.0.5"
[dependencies.pin-project-lite]
version = "0.2.17"
[dependencies.rustls-pemfile]
version = "2.2.0"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.tokio]
version = "1.50.0"
features = [
"full",
"full",
]
[dependencies.tokio-rustls]
version = "0.26.4"
features = [
"ring",
"ring",
]
default-features = false
[dependencies.tower]
version = "0.5.3"
features = ["full"]
[dependencies.tower-http]
version = "0.6.8"
features = [
"trace",
"cors",
"request-id",
"compression-gzip",
"compression-br",
"compression-deflate",
"compression-gzip",
"compression-br",
"compression-deflate",
"limit",
"timeout",
"catch-panic",
"normalize-path",
"set-header",
"fs",
]
[dependencies.tracing]
version = "0.1.44"
features = [
"std",
"attributes",
]
[dependencies.uuid]
version = "1.22.0"
features = [
"v4",
"v7",
"serde",
"v4",
]
[dependencies.wae-session]
version = "0.0.1"
[dependencies.wae-types]
version = "0.0.1"