load_artifacts!() { /* proc-macro */ }Expand description
Loads all JSON artifacts from the specified directory.
§Panics
Panics if:
- the macro call site does not have a local source file.
- the source file has no parent directory.
- an input literal cannot be parsed as a literal.
- an input literal is not a string literal.
- a directory entry cannot be accessed.
- a discovered JSON file path cannot be converted to UTF-8.
- the call site’s parent path cannot be converted to UTF-8.