pub fn target_dir<P: AsRef<Path>>(manifest_path: P) -> Result<PathBuf>
Expand description

Extract target directory information

This fetches the target directory from cargo metadata, resolving the user and project configuration and the environment variables in the right way.