mii-http 0.3.0

Turn a .http specs file into a real HTTP server, backed by the shell commands you already have.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Parsing layer for `.http` specs files.
//!
//! - [`spec`] parses the line-oriented outer grammar (setup directives,
//!   endpoint blocks, body schemas, etc.) into a [`crate::spec::Spec`] AST.
//! - [`exec`] parses the Exec mini-language used inside `Exec:` directives
//!   into a sequence of [`crate::spec::ExecStage`].
//!
//! No execution happens here: this module only turns source text into AST.

pub mod exec;
pub mod spec;

pub use spec::{ParseResult, parse};