[package]
edition = "2021"
name = "mini-static"
version = "0.16.0"
authors = ["makeitmini"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A secure, async static file server with streaming, traversal protection, and connection limits."
homepage = "https://gitlab.com/makeitmini/backstack"
documentation = "https://docs.rs/mini-static"
readme = "README.md"
license = "MIT"
repository = "https://gitlab.com/makeitmini/backstack"
[features]
default = []
[lib]
name = "mini_static"
path = "src/lib.rs"
[[example]]
name = "mini-static"
path = "examples/mini-static.rs"
[[test]]
name = "content_length"
path = "tests/content_length.rs"
[[test]]
name = "directory_redirect"
path = "tests/directory_redirect.rs"
[[test]]
name = "http_responses"
path = "tests/http_responses.rs"
[[test]]
name = "live_reload"
path = "tests/live_reload.rs"
[[test]]
name = "methods"
path = "tests/methods.rs"
[[test]]
name = "real_tools"
path = "tests/real_tools.rs"
[[test]]
name = "resolve"
path = "tests/resolve.rs"
[[test]]
name = "server"
path = "tests/server.rs"
[[test]]
name = "source_pipeline"
path = "tests/source_pipeline.rs"
[[bench]]
name = "path_resolution"
path = "benches/path_resolution.rs"
harness = false
[dependencies.bytes]
version = "1"
[dependencies.http-body]
version = "1"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1"
features = ["http1"]
[dependencies.hyper-util]
version = "0.1"
features = [
"tokio",
"http1",
"server-auto",
]
[dependencies.percent-encoding]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"net",
"rt",
"macros",
"time",
"sync",
"signal",
"net",
"time",
"rt",
"fs",
"io-util",
"process",
]
[dev-dependencies.criterion]
version = "0.5"
default-features = false
[dev-dependencies.percent-encoding]
version = "2"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"net",
"rt",
"macros",
"time",
"sync",
"signal",
"macros",
"rt",
"test-util",
]