mini-serve 0.9.0

An HTTP server: trie router, middleware, CORS, optional TLS. Built on hyper + tokio.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "mini-serve"
version = "0.9.0"
authors = ["makeitmini"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An HTTP server: trie router, middleware, CORS, optional TLS. Built on hyper + tokio."
homepage = "https://gitlab.com/makeitmini/backstack"
documentation = "https://docs.rs/mini-serve"
readme = "README.md"
license = "MIT"
repository = "https://gitlab.com/makeitmini/backstack"

[features]
default = []
tls = [
    "dep:tokio-rustls",
    "dep:rustls",
    "dep:rustls-pemfile",
]

[lib]
name = "mini_serve"
path = "src/lib.rs"

[[example]]
name = "mini-serve"
path = "examples/mini-serve.rs"

[[test]]
name = "body_stream_error"
path = "tests/body_stream_error.rs"

[[test]]
name = "cors"
path = "tests/cors.rs"

[[test]]
name = "extract"
path = "tests/extract.rs"

[[test]]
name = "head_via_get"
path = "tests/head_via_get.rs"

[[test]]
name = "method_dispatch"
path = "tests/method_dispatch.rs"

[[test]]
name = "middleware"
path = "tests/middleware.rs"

[[test]]
name = "peer_addr"
path = "tests/peer_addr.rs"

[[test]]
name = "percent_encoding"
path = "tests/percent_encoding.rs"

[[test]]
name = "routing"
path = "tests/routing.rs"

[[test]]
name = "run"
path = "tests/run.rs"

[[test]]
name = "shutdown"
path = "tests/shutdown.rs"

[[test]]
name = "state"
path = "tests/state.rs"

[[test]]
name = "tls"
path = "tests/tls.rs"

[dependencies.http-body]
version = "1"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1"

[dependencies.hyper-util]
version = "0.1"
features = [
    "tokio",
    "http1",
    "server-auto",
]

[dependencies.percent-encoding]
version = "2"

[dependencies.rustls]
version = "0.23"
optional = true

[dependencies.rustls-pemfile]
version = "2"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "net",
    "rt",
    "macros",
    "time",
    "sync",
    "signal",
]

[dependencies.tokio-rustls]
version = "0.26"
optional = true

[dev-dependencies.rcgen]
version = "0.13"

[dev-dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]

[dev-dependencies.tokio]
version = "1"
features = [
    "net",
    "rt",
    "macros",
    "time",
    "sync",
    "signal",
    "test-util",
]