alux_http_conformance/lib.rs
1#![doc = include_str!("../README.md")]
2
3//! One declared HTTP surface, and the scenario every interpretation of it must satisfy.
4//!
5//! An interpretation agreeing with another is only evidence when both were held to the same thing.
6//! What lives here is that thing: one declaration, compiled by whoever is under test, and one set of
7//! exchanges naming what answering it must produce. The scenario knows methods, paths, media types
8//! and statuses, and nothing of the domain or of any framework.
9//!
10//! [`ExpectLifecycleExt`] states the other half for interpretations that serve rather than answer:
11//! what opening and closing one bound address must do, and [`MeasureLifecycleExt`] what it costs.
12
13mod lifecycle;
14mod measure;
15mod scenario;
16mod surface;
17
18pub use lifecycle::*;
19pub use measure::*;
20pub use scenario::*;
21pub use surface::*;