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: argv assembly + pipeline execution (no shell).
  • 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: build argv from a parsed pipeline and execute it as a chain of child processes. No shell is ever invoked.
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.