cargo::util::toml::targets

Function infer_file

Source
fn infer_file(
    package_root: &Path,
    entry: &DirEntry,
) -> Option<(String, PathBuf)>