[package]
name = "mini-static"
version = "0.31.3"
edition = "2021"
license = "MIT"
repository = "https://gitlab.com/makeitmini/static"
homepage = "https://gitlab.com/makeitmini/static"
documentation = "https://docs.rs/mini-static"
description = "A secure, async static file server with streaming, traversal protection, and connection limits."
authors = ["makeitmini"]
[dependencies]
percent-encoding = "2"
hyper = { version = "1", features = ["http1", "server"] }
hyper-util = { version = "0.1", features = ["tokio"] }
http-body-util = "0.1"
http-body = "1"
bytes = "1"
tokio = { version = "1", features = ["net", "rt", "macros", "time", "sync", "signal", "fs", "io-util"] }
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
libc = "0.2"
[dev-dependencies]
tempfile = "3"
tokio = { version = "1", features = ["net", "rt", "macros", "time", "sync", "signal", "test-util"] }
percent-encoding = "2"
criterion = { version = "0.5", default-features = false }
proptest = "1"
[features]
default = []
[[bench]]
name = "path_resolution"
harness = false
[[bench]]
name = "handle_request"
harness = false