Skip to main content

Module dependency

Module dependency 

Source

Re-exportsยง

use cargo_platform::Platform; ๐Ÿ”’
use semver::VersionReq; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use serde::ser; ๐Ÿ”’
use std::borrow::Cow; ๐Ÿ”’
use std::fmt; ๐Ÿ”’
use std::fmt::Display; ๐Ÿ”’
use std::fmt::Formatter; ๐Ÿ”’
use std::path::Path; ๐Ÿ”’
use std::path::PathBuf; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use tracing::trace; ๐Ÿ”’
use crate::compiler::CompileKind; ๐Ÿ”’
use crate::compiler::CompileTarget; ๐Ÿ”’
use crate::context::Definition; ๐Ÿ”’
use crate::util::OptVersionReq; ๐Ÿ”’
use crate::util::VersionReqMatchMode; ๐Ÿ”’
use crate::util::errors::CargoResult; ๐Ÿ”’
use crate::util::interning::InternedString; ๐Ÿ”’
use crate::workspace::CliUnstable; ๐Ÿ”’
use crate::workspace::Feature; ๐Ÿ”’
use crate::workspace::Features; ๐Ÿ”’
use crate::workspace::PackageId; ๐Ÿ”’
use crate::workspace::SourceId; ๐Ÿ”’
use crate::workspace::Summary; ๐Ÿ”’

Structsยง

Artifact
The presence of an artifact turns an ordinary dependency into an Artifact dependency. As such, it will build one or more different artifacts of possibly various kinds for making them available at build time for rustc invocations or runtime for build scripts.
Dependency
Information about a dependency requested by a Cargo manifest. Cheap to copy.
Inner ๐Ÿ”’
The data underlying a Dependency.
Patch
Patch is a dependency override that knows where it has been defined. See PatchLocation for possible locations.
SerializedArtifact
SerializedDependency

Enumsยง

ArtifactKind
ArtifactTarget
DepKind
PatchLocation
Place where a Patch has been defined.