cargo::util::toml

Function prepare_targets_for_publish

Source
pub fn prepare_targets_for_publish(
    targets: Option<&Vec<TomlTarget>>,
    packaged_files: Option<&[PathBuf]>,
    context: &str,
    gctx: &GlobalContext,
) -> CargoResult<Option<Vec<TomlTarget>>>