hyperlane-plugin-static-files
Path-Safe Static File Server Plugin
Overview
Opt-in static asset serving with canonical path-traversal rejection, MIME detection, range/ETag support, and precompressed asset negotiation.
This crate is a member of the hyperlane unified Rust 2024 workspace. All plugin crates are opt-in and transparent (Status::Continue) when unconfigured.
Responsibilities & Module Layout
struct/fn/impl— Canonical directory resolver andStaticFilesHook
Installation
Verification
Run crate-scoped formatting, lint, and test gates from the workspace root:
Documentation & Governance
- Update this
README.mdalongside any public API, plugin contract, or module-boundary change. - Project standards and release workflows live in
../../.agents/skills/hyperlane/SKILL.md.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contact
For inquiries, please contact the author at root@devhub.vip.