mini-static 0.12.6

A secure, async static file server with streaming, traversal protection, and connection limits.
Documentation
[package]
name = "mini-static"
version = "0.12.6"
edition.workspace = true
license = "MIT"
repository = "https://gitlab.com/makeitmini/backstack"
homepage = "https://gitlab.com/makeitmini/backstack"
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.workspace = true
hyper = { workspace = true, features = ["http1"] }
hyper-util = { workspace = true }
http-body-util.workspace = true
http-body.workspace = true
bytes = "1"
serde_json.workspace = true
# Pinned to an exact alpha version deliberately — lightningcss has no stable 1.0
# release yet (crates.io only lists 1.0.0-alpha.*); re-verify compatibility by hand
# before bumping. default-features = false excludes bundler/nodejs/sourcemap (and
# their dashmap/rayon/serde/parcel_sourcemap deps) — we only parse+minify+print one
# in-memory stylesheet, no @import bundling, sourcemaps, or Node bindings needed.
lightningcss = { version = "1.0.0-alpha.72", default-features = false }
minify-js = "0.6"
tokio = { workspace = true, features = ["net", "time", "rt", "fs", "io-util"] }

[dev-dependencies]
tempfile = "3"
tokio = { workspace = true, features = ["macros", "rt", "test-util"] }
percent-encoding.workspace = true

[features]
default = []
# Planned: Integration with mini-err for structured error types and HTTP code mapping.
# When enabled, errors will be convertible to mini-err::Error for seamless integration
# with mini-serve and other mini-* crates.
err = []
# Planned: Integration with mini-logs for structured logging of requests and errors.
# When enabled, requests will be logged with structured fields (method, path, status).
log = []