#recursion #text-file #reference #load-file #content #indentation #loader

recursive-file-loader

Library to recursively load files via references in the files

4 stable releases

1.0.3 Oct 28, 2023

#1278 in Text processing


Used in 3 crates (via fhttp-core)

MIT license

18KB
409 lines

Recursive file loader

A crate to load text files recursively, following references to other files and inserting their contents at the reference point. Optionally, a reference can specify whether the indentation of the reference should be applied to the linked content prior to insertion.

See [load_file_recursively] for documentation and examples.

Dependencies

~2.5–4MB
~72K SLoC