Skip to main content

file_module

Function file_module 

Source
pub fn file_module(rel: &str) -> Vec<String>
Expand description

Module path of a file relative to the crate root: src/a/b.rs and src/a/b/mod.rs → [a, b]; src/lib.rs, src/main.rs and src/bin/*.rs are crate roots.