However, in C++ there is a mechanism via libraries such as Boost::Spirit where a parser can be built inline and compiled inline (no separate compilation step) and used within the C++ application on input streams.
Is this a capability available within the Rust ecosystem?