find_crate_root

Function find_crate_root 

Source
pub fn find_crate_root(crate_dir: &Path) -> Option<PathBuf>
Expand description

Find the crate root file (lib.rs or main.rs)