pub fn file_module(rel: &str) -> Vec<String>
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.
src/a/b.rs
src/a/b/mod.rs
[a, b]
src/lib.rs
src/main.rs
src/bin/*.rs