alux-http-text
alux-http-text interprets an alux-http program as a readable
description of its routes and types. It executes no handler; it lists the methods, paths, input
roles, arguments, results, and output conversions declared by the program.
use HttpProgramExt;
use TextHandlerImpl;
let api = TextHandlerImpl;
let routes = api.compile_http;
assert_eq!;
println!;
The same program value can be compiled by any other interpreter, such as
alux-http-poem, without restating its routes.