Re-exportsยง
use std::fmt;๐use std::fmt::Write as _;๐use std::path::Path;๐use std::path::PathBuf;๐use crate::sources::IndexSummary;๐use crate::sources::path::RecursivePathSource;๐use crate::sources::source::QueryKind;๐use crate::util::edit_distance::closest;๐use crate::util::edit_distance::edit_distance;๐use crate::util::errors::CargoResult;๐use crate::util::GlobalContext;๐use crate::util::OptVersionReq;๐use crate::util::VersionExt;๐use crate::workspace::Dependency;๐use crate::workspace::PackageId;๐use crate::workspace::Registry;๐use crate::workspace::Summary;๐use anyhow::Error;๐use super::VersionPreferences;๐use super::context::ResolverContext;๐use super::types::ConflictMap;๐use super::types::ConflictReason;๐
Structsยง
- Resolve
Error - Error during resolution providing a path of
PackageIds.
Enumsยง
Functionsยง
- activation_
error ๐ - alt_
names ๐ - Maybe the user mistyped the name? Like
dep-thingwhenDep_Thingwas meant. So we try asking the registry for afuzzysearch for suggestions. - alt_
paths ๐ - For path dependencies, scan the dependency directory for any packages that exist in subdirectories. This helps when the user points to a directory without a Cargo.toml or with the wrong package name.
- alt_
versions ๐ - describe_
path ๐ - Returns String representation of dependency chain for a particular
pkgid. - describe_
path_ ๐in_ context - Returns String representation of dependency chain for a particular
pkgidwithin given context. - rejected_
versions ๐ - Maybe something is wrong with the available versions