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

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

Enums

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

Functions

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