[][src]Module cargo::ops

Structs

CleanOptions
CompileOptions

Contains information about how a package should be compiled.

DocOptions

Strongly typed options for the cargo doc command.

ExportInfo

This is the structure that is serialized and displayed to the user.

FetchOptions
FixOptions
HttpTimeout
NewOptions
OutputMetadataOptions
OwnersOptions
PackageOpts
PublishOpts
RegistryConfig
TestOptions
UpdateOptions
VendorOptions

Enums

CompileFilter
FilterRule
LibRule
Packages
VersionControl

Functions

add_overrides

Read the paths configuration variable to discover all path overrides that have been configured.

clean

Cleans the package's build artifacts.

compile
compile_with_exec

Like compile but allows specifying 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.

fix
fix_maybe_exec_rustc
generate_lockfile
get_resolved_packages
http_handle

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

http_handle_and_timeout
init
install
install_list

Display a list of installed binaries.

load_pkg_lockfile
modify_owners
needs_custom_http_transport
new
output_metadata

Loads the manifest, resolves the dependencies of the package 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_to_string

Generate a toml String of Cargo.lock from a Resolve.

resolve_with_previous

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

resolve_ws

Resolves all dependencies for the workspace using the previous lock file as a guide if present.

resolve_ws_with_opts

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
vendor
write_pkg_lockfile
yank