Skip to main content

Crate mii_http

Crate mii_http 

Source
Expand description

mii-http library root.

Module layout follows the parsing-vs-execution split:

  • spec — pure AST types.
  • parse — turns source text into AST (spec parser + Exec sub-parser).
  • check — semantic validation on the AST.
  • value — runtime validation of incoming values against type expressions.
  • exec — runtime: shell rendering, temp-file materialization and execution.
  • server — axum HTTP server gluing the pieces together.
  • diag — diagnostic reporting via ariadne.

Modules§

check
Semantic validation of a parsed Spec.
diag
Diagnostic helpers using ariadne.
exec
Exec runtime: render the parsed Exec mini-language into shell text and run it through /bin/sh.
parse
Parsing layer for .http specs files.
server
HTTP server runtime built on top of axum.
spec
AST for the .http specs file.
value
Value validation against type expressions.