cargo::util::toml

Function to_virtual_manifest

source
fn to_virtual_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<VirtualManifest>