Expand description
Information about dependencies in a manifest.
Re-exportsยง
use std::borrow::Cow;๐use std::fmt::Display;๐use std::fmt::Formatter;๐use std::path::Path;๐use std::path::PathBuf;๐use cargo_util::collections::IndexSet;๐use cargo_util_schemas::manifest::PathBaseName;๐use itertools::Itertools;๐use toml_edit::KeyMut;๐use super::manifest::str_or_1_len_table;๐use crate::CargoResult;๐use crate::GlobalContext;๐use crate::workspace::SourceId;๐use crate::workspace::Summary;๐use crate::workspace::parser::lookup_path_base;๐use crate::workspace::Features;๐use crate::workspace::GitReference;๐
Structsยง
- Dependency
- A dependency handled by Cargo.
- GitSource
- Dependency from a git repo.
- Path
Source - Dependency from a local path.
- Registry
Source - Dependency from a registry.
- Workspace
Source - Dependency from a workspace.
Enumsยง
- Maybe
Workspace - Either a workspace or another type.
- Source
- Primary location of a dependency.
Functionsยง
- invalid_
type ๐ - overwrite_
value ๐ - path_
field ๐