cargo::util::toml

Function to_real_manifest

Source
pub fn to_real_manifest(
    contents: String,
    document: ImDocument<String>,
    original_toml: TomlManifest,
    normalized_toml: TomlManifest,
    features: Features,
    workspace_config: WorkspaceConfig,
    source_id: SourceId,
    manifest_file: &Path,
    gctx: &GlobalContext,
    warnings: &mut Vec<String>,
    _errors: &mut Vec<String>,
) -> CargoResult<Manifest>