Skip to main content

Module cargo

Module cargo 

Source
Expand description

Simulations of Cargo behavior.

Cargo comes with a set of algorithms to figure out what packages or features are built. This module reimplements those algorithms using guppy’s data structures.

Structs§

CargoLinkContext
Context passed to a CargoLinkVisitor for each link visited while building a CargoSet.
CargoOptions
Options for queries which simulate what Cargo does.
CargoSet
A set of packages and features, as would be built by Cargo.
CargoSetInputs
The inputs to a CargoSet other than the initials.

Enums§

BuildPlatform
Either the target or the host platform.
CargoResolverVersion
The version of Cargo’s feature resolver to use.
InitialsPlatform
For a given Cargo build simulation, what platform to assume the initials are being built on.

Traits§

CargoLinkVisitor
Represents whether a particular link within a package graph should be followed while building a CargoSet.