cargo::util::toml

Function prepare_target_for_publish

source
pub fn prepare_target_for_publish(
    target: &TomlTarget,
    packaged_files: Option<&[PathBuf]>,
    context: &str,
    gctx: &GlobalContext,
) -> CargoResult<Option<TomlTarget>>