Crate syn_inline_mod

Source
Expand description

Utility to traverse the file-system and inline modules that are declared as references to other Rust files.

Structs§

InlineError
An error that happened while attempting to inline a module.
InlinerBuilder
A builder that can configure how to inline modules.
InliningResult
The result of a best-effort attempt at inlining.

Enums§

Error
An error that was encountered while reading, parsing or inlining a module.

Functions§

parse_and_inline_modules
Parse the source code in src_file and return a syn::File that has all modules recursively inlined.