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

recursive-file-loader

Library to recursively load files via references in the files

4 stable releases

1.0.3 Oct 28, 2023

#1103 in Text processing

25 downloads per month
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.4–4MB
~71K SLoC