target_dir_from_metadata

Function target_dir_from_metadata 

Source
pub fn target_dir_from_metadata(metadata: &CargoMetadata) -> 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.