Skip to main content

Module dependency

Module dependency 

Source
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.
PathSource
Dependency from a local path.
RegistrySource
Dependency from a registry.
WorkspaceSource
Dependency from a workspace.

Enumsยง

MaybeWorkspace
Either a workspace or another type.
Source
Primary location of a dependency.

Functionsยง

invalid_type ๐Ÿ”’
overwrite_value ๐Ÿ”’
path_field ๐Ÿ”’