Module plan

Module plan 

Source
Expand description

Items related to construction of the compilation Plan.

Structs§

Dep
A dependency edge.
DependencyCycle
A cycle was detected while attempting to determine compilation order.
FindPathRootError
Failed to find a path root for a given path node.
MemberNameNotUnique
Error indicating that more than one member package was found with the same name.
Pinned
A pinned package.
PinnedId
The ID of a pinned package.
PinnedIdFromStrError
Failed to parse a pinned ID from its hex string representation.
Pkg
An unpinned package.
Plan
A compilation plan generated for one or more member package manifests.

Enums§

CheckDepError
Represents an invalid dependency.
CheckPathRootError
An error produced by a failed path root check.
DepKind
The kind of dependency represented by an edge.
DepManifestError
Errors produced by dependency manifest validation.
DepPathError
Failed to resolve a dependency’s path.
FetchGraphError
InvalidDepCause
The reason the dependency was invalidated.
PlanError
Failed to construct a compilation plan.

Functions§

from_members
Construct a compilation plan from the given member manifests that we wish to build.

Type Aliases§

EdgeIx
The package graph’s edge index type.
Graph
The package graph type, where the edge a -> b means that a depends on b.
InvalidDeps
The set of invalid deps discovered during a check_graph traversal.
MemberManifests
Manifests of the root packages being built.
NodeIx
The package graph’s node index type.
PinnedManifests
A set of manifests that have been pinned during construction of the compilation plan.