Skip to main content

Crate module_path_extractor

Crate module_path_extractor 

Source

Functionsยง

find_module_path
Reads the file and extracts the module path at the given line.
get_pseudo_module_path
Gets the full pseudo-absolute module path of the current macro invocation.
get_source_info
Extracts the file path and line number where the macro was invoked.
module_path_from_file
Converts a file path into a pseudo-Rust module path.