Module cargo::ops[][src]

Structs

CleanOptions
CompileOptions

Contains information about how a package should be compiled.

DocOptions

Strongly typed options for the cargo doc command.

ExportInfo
FetchOptions
NewOptions
OutputMetadataOptions
OwnersOptions
PackageOpts
PublishOpts
RegistryConfig
TestOptions
UpdateOptions

Enums

CompileFilter
FilterRule
Packages
VersionControl

Functions

clean

Cleans the project from build artifacts.

compile
compile_with_exec

Like compile but allows specifing a custom Executor that will be able to intercept build calls and add custom logic. compile uses DefaultExecutor which just passes calls through.

compile_ws
configure_http_handle

Configure a libcurl http handle with the defaults options for Cargo

doc

Main method 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
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.

resolve_ws_with_method
run
run_benches
run_tests
search
uninstall
update_lockfile
write_pkg_lockfile
yank