Module cargo::ops [] [src]

Structs

BuildConfig

Configuration information for a rustc build.

BuildOutput

Contains the parsed output of a custom build script.

CleanOptions
Compilation

A structure returning the result of a compilation.

CompileOptions

Contains information about how a package should be compiled.

Context

The build context, containing all information about a build task

DefaultExecutor

A DefaultExecutor calls rustc without doing anything else. It is Cargo's default behaviour.

DocOptions
ExportInfo
NewOptions
OutputMetadataOptions
OwnersOptions
PackageOpts
PublishOpts
RegistryConfig
TargetConfig

Information required to build for a target

TestOptions
Unit

All information needed to define a Unit.

UpdateOptions

Enums

CompileFilter
CompileMode
FilterRule
Kind

Whether an object is for the host arch, or the target arch.

MessageFormat
Packages
VersionControl

Traits

Executor

A glorified callback for executing calls to rustc. Rather than calling rustc directly, we'll use an Executor, giving clients an opportunity to intercept the build calls.

Functions

clean

Cleans the project from build artifacts.

compile
compile_targets
compile_with_exec
compile_ws
configure_http_handle

Configure a libcurl http handle with the defaults options for Cargo

doc
fetch

Executes cargo fetch.

generate_lockfile
http_handle

Create a new HTTP handle with appropriate global configuration for cargo.

init
install
install_list
is_bad_artifact_name
load_pkg_lockfile
modify_owners
needs_custom_http_transport
new
output_metadata

Loads the manifest, resolves the dependencies of the project to the concrete used versions - considering overrides - and writes all dependencies in a JSON format to stdout.

package
pkgid
publish
read_package
read_packages
registry_configuration
registry_login
resolve_with_previous

Resolve all dependencies for a package using an optional previous instance of resolve to guide the resolution process.

resolve_ws

Resolve all dependencies for the workspace using the previous lockfile as a guide if present.

resolve_ws_precisely

Resolves dependencies for some packages of the workspace, taking into account paths overrides and activated features.

run
run_benches
run_tests
search
uninstall
update_lockfile
write_pkg_lockfile
yank