alux-http-text
alux-http-text interprets an alux-http program as a readable
description of its route surface. It executes no handler, so it witnesses that a typed HTTP program
denotes selectors, extractor roles, arguments, results, and output conversions rather than framework
callbacks.
use HttpProgramExt;
use TextHandlerImpl;
let api = TextHandlerImpl;
let routes = api.compile_http;
assert_eq!;
println!;
The same program value compiles through any other interpreter, such as
alux-http-poem, without restating its routes.