cargo::util::toml::targets

Function infer_subdirectory

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